OAuth 2.0 is deactivated by default. To activate this feature, Orange Logic administrators can submit a support request. After the feature is activated, an Orange Logic administrator can allow bearer authentication on an account. After bearer authentication is permitted on your account, you can follow the procedure below.
To authenticate API calls with OAuth 2.0, you must:
To see your own client credentials, go to User menu > My Account > OAuth 2.0 Client Credentials.
OAuth2.0 Credentials in My Account
Generate an access token
ℹ️
Note
Use an API client, such as Postman, to complete the steps below.
Generate an access token that you can use for OAuth 2.0 authentication of API calls by running the Authentication API.
Create a POST request.
Specify OAuth 2.0 as the Auth type.
Enter a token name.
Specify Client Credentials as the Grant type.
Enter the Authentication API below as the Access Token URL, inserting your Orange Logic site address: https://{OrangeLogicURL}/webapi/security/clientcredentialsauthentication/authenticate_46H_v1
Enter the Client ID and Client Secret that you retrieved.
Specify that client credentials will be sent in the API body as the client authentication method.
Click Get New Access Token.
Authentication API call in Postman
When you receive a successful response from your call, the user account is authenticated. You can save the token and use it to authenticate future API calls.