Follow the below article to setup Token Based Authentication (TBA) in JCurve.
A. Enable TBA Feature
1. Navigate to Setup > Company > Enable Features > SuiteCloud.
2. Check Web Services.
3. Check Token-Based Authentication.
4. Click Save.
B. Token-based Authentication Permissions
The following Token Based Authentication permissions can be added to roles as appropriate:
-
User Access Tokens
Users with this permission can manage their own tokens using the Manage Access Tokens link in the Settings portlet, and they can log in using a token.
-
Log in using Access Tokens
Users with only this permission can log in using a token, that is, they can to use tokens to call a RESTlet.
Users with only this permission cannot manage tokens or access pages where tokens are managed.
C. To create a new role that has Token access
Navigate to Setup > Users/Roles > Manage Roles > New.
1. Only tick this box if you want to create a web services only role. This means you cannot login via the User Interface using this role. Note: You can always make the role a web services only role at a later date.
2. Click Permissions.
3. Click Setup.
4. Add the following permissions:
-
User Access Tokens
-
Log in using Access Tokens
Note: Add any additional permissions the role will require. eg. Lists > Vendors.
5. Click Save.
D. Assigning Users to Token-based Authentication Roles
After modifying roles with the appropriate Token Based Authentication permissions, an account administrator can assign users to those roles. Please follow the below article for the procedure of how to assign a role to an existing employee. Click below:
Giving access to a user in JCurve
E. Creating Applications for Token Based Authentication
Account administrators must create applications for use with Token Based Authentication before tokens can be created and assigned to users.
-
Go to Setup
-
Select Integration.
-
Select Manage Integrations.
-
Select New.
-
Enter a Name for your application.
-
The application State is Enabled by default.
-
Select the Authentication subtab.
-
Check the Token-based Authentication box on the Authentication subtab.
- Click Save.
Note: After you click Save, you will be shown the Consumer Key and Consumer Secret. For security reasons this is the only time they will be shown.
F. To create and assign a TBA token:
Log in as admin role.
1. Go to Setup
2. Select Users/Roles.
3. Select Access Tokens.
4. Click New.
5. Select the Application Name.
6. Select the User.
7. Select the Role.
8. The Token Name is already populated by default with a concatenation of Application Name, User, and Role. Enter your own name for this token, if desired.
9. Click Save.
The confirmation page displays the Token ID and Token Secret. For security reasons this is the only time they will be shown.