In this Article
...
Admin access to Coupa
Info |
---|
|
Log into the Coupa portal.
Navigate to Setup > Oauth2/OpenID Connect Clients.
Note: You can type ‘oauth’ in the Search box to find it fast.Log into the <endpoint> portal.Click Create.
In the Grant type list, select Client credentials.
Specify the details as shown below: Name for the Client, Login, Contact info, and Contact Email.
Note: You must provide a unique Login,else Coupa displays an error,Login has already been taken
.Select the
Scopes you would like to include in this API setup.Cfm tooltip text Scopes are like a set of permissions set on the API key
Note: To implement API permissions with OIDC, we've created several new scopes that provide access to specific functionality for the API.Click Save to save the client.
The client Identifier and Secret are generated to gain access to the API Scopes that you have configured.
Toggle Show/Hide to display and copy the Secret.
Once you create the client in Coupa, use the application or client to request an access token based on the grant type you configured.
...
Navigate to the <Snap Pack Name> Snap of your choice and configure the <Snap Pack Name> OAuth2 Account with the following details:
Client ID: A Public Identifier for your app. Provide the Client ID that is auto-generated after creating the app in the <endpoint>
Client Secret: Secret value known only to the app and the auth server. Provide the Client Secret that is auto-generated after creating the app in the <endpoint>.
OAuth2 Endpoint:
OAuth2 Token:
<Insert Account image>
Click Authorize.
You will be redirected to the login page of ServiceNow.Log into ServiceNow and accept the permissions.
The Access token and the Refresh Token will be generated.Select the Auto-refresh token checkbox and save the account.
...