Generate a JSON web token

A JSON web token is required for the authentication process. When you log in, a server can issue a JWT, which can then be sent and stored in the client side (typically in a cookie or local storage). Subsequent requests to protected resources include the JWT, allowing the server to verify the user's identity and grant access accordingly. The server can also include additional information in the JWT payload, which can be used for authorization purposes.

  1. From the SO level, click Administration, select User Management, and then Users.

  2. Click Create User.

  3. Enter a Name, Login, and a password.

    The API user requires a Role and Access Group, and follows the associated role and group rules.

  4. Click Assign Roles, select a Role, and click Assign.

    In this example we assigned a Default Administrator Role.

  5. Open the Access Groups tab, and click Assign Access Groups.

  6. Select the access group, and click Assign.

  7. Click the User Details tab and then click User Information.

  8. Uncheck Use Two-Factor Authentication.

  9. Click the API Access tab.

  10. Select API only User and click Save.

  11. In the user list, click the login name for the API only user you just created.

  12. Click the API Access tab again, and click Generate JSON Web Token.

  13. Click Copy Token and save it according to organizational guidelines.

  14. Click OK, then Cancel to exit.