After creating the OAuth 2.0 client in Workspace ONE Access, generate an OAuth bearer token.
Download and install the Postman app. You can download Postman from https://getpostman.com.
- Open a new tab in the Postman app.
- For the HTTP method, select POST.
- For the URL, enter:
https://tenanturl/SAAS/jersey/manager/api/connectormanagement/directoryconfigsReplace tenanturl with your Workspace ONE Access URL, for example:
- Click the Authorization tab and select OAuth 2.0 as the type.
- In the Configure New Token section, enter the required information.
- For Token Name, enter a name, such as WorkspaceONE.
- For Grant Type, select Client Credentials.
- For Access Token URL, enter https://tenantURL/SAAS/auth/oauthtoken, where tenantURL is your Workspace ONE Access tenant URL.
For example: https://example.vmwareidentity.com/SAAS/auth/oauthtokenNote: Workspace ONE Access was formerly called VMware Identity Manager. Old tenants have the domain name vmwareidentity.com while new tenants have the domain name workspaceoneaccess.com.
- For Client ID, enter the Client ID that you set in Create OAuth 2.0 Client.
- For Client Secret, enter the secret that was generated in Create OAuth 2.0 Client.
Note: If you did not copy the secret while creating the client, you can regenerate it. To regenerate the secret, go to the page in the Workspace ONE Access console, select the client, and click Regenerate Secret on the client page.
- For Scope, enter admin.
- Click Get New Access Token.
A token is generated and displayed.
- To verify that the bearer token was added, click the Headers tab and click hidden headers.
The bearer token appears.
- If the bearer token was not added, return to the Authorization tab and select your token from the Available Tokens drop-down menu and check again.