...
Log in to the Coupa Portal. The URL format for Coupa instances:
Customer instances:
https://{organization_name}.coupahost.com
Partner and demo instances:
https://{organization_name}.coupacloud.com
Navigate to Setup > Integrations > Oauth2/OpenID Connect Clients. You can also search for ‘OAuth’ in the Find it fast Use the Instant Filter search box.
Note: You must provide a unique login ID for the Client Credentials Grant type. If you do not, Coupa displays an error,Login has already been taken
.Click Create on Oauth2/OpenID Connect Clients page.
From the Grant type list, select Client credentials or Authorization Code and specify the details for the client, such as Name, Login, Contact First Name, Contact Last Name, and Contact Email, as shown in the image below. For more information, refer to the table /wiki/spaces/DRWIP/pages/2727739479.
Select the Scopes you want to include in this API setup.
Click Save to save the client.
The client Identifier and Secret are generated. You can toggle the Show/Hide link to display and copy the Client secret. Learn more about creating an application at the Register a client application in Coupa Portal. You can use Client IDs and Client Secret values to gain access to the Coupa APIs. When you create a new Open Connect client, access is granted to a specific application or user client for specific areas of the product defined by the scopes.
...
Info |
---|
To use an existing application, navigate to the Integrations > Oauth2/OpenID Connect Clients.page. In the search box, specify the application name you want to edit. The details of the searched application displays in the search list. Use the edit option provided under Actions to add more Scopes to the existing app as shown in the image. |
...
Scenario for the Grant Type
Grant Type | Scenario when this Grant type is used | Does it require user consent? | ||
---|---|---|---|---|
Client credentials | This grant type is used when there are no users involved and for system-to-system integrations. The token is automatically accepted and generated. | No, if the Grant type selected is Client credentials, the user does not require consent, and an HTTPS POST request can be made directly to Coupa.
|
...