Get your OAuth access token
When you purchase and deploy NexusOne, the deployment script does the following:- Creates your client ID and secret in Keycloak.
- Assigns the default NexusOne roles to the client’s service account.
- You can then use the client ID and secret, along with a profile scope, to generate the token.
If you aren’t an administrator, then you must ask your administrator to assign a role to your user account.
- Install the latest version of jq.
-
Create a variable for the client name, ID, and secret.
-
Generate the access token.
-
After generating the access token, you should see a similar output.
Copy the value of
access_token, the long string inside the quotes.
OAuth2AuthorizationCodeBearer security method and also
add the access token value in the Authorization attribute before sending an API call.
Get your API key
To obtain your API key, follow these steps:- Purchase NexusOne and deploy it.
- You receive an API key. If the Nexus Cognitive team is managing the deployed environment for you, then you can request the API key at any time.
APIKeyHeader security method and
add the API key value in the Authorization-PSK attribute before sending an API call.