Coupa OAuth2 Account

Overview

You can use this account type to connect Coupa Snaps with data sources that the use Coupa OAuth2 account.

Prerequisites

  • Create an app in Coupa for your Coupa instance.

  • Client ID and Client Secret generated in Coupa.

Limitations and Known Issues

None.

Account Settings

 

  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon (): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the field set.

  • Remove icon (): Indicates that you can remove fields from the field set.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default Value: [None]
ExampleCoupa OAuth2 Account

String

A unique label for the account.

 

Host*

 

Default Value: N/A
Example: http://snaplogic-coupalink-demo.coupacloud.com

String

Specify the domain name of the Coupa instance.

 

Client Id*

 

Default Value: N/A
Example45b546f46b004d10d275c2b553bc7g44

String

Specify the client ID to use for authorization.
Learn more about obtaining Client Id: Application configuration in Coupa portal for OAuth2 account.

 

Client Secret

 

Default Value: N/A
Examplezcvfc098adfdb343s

String

Specify the client secret for authorization of the OAuth2 account.
Learn more about obtaining Client Secret: Application configuration in Coupa portal for OAuth2 account.

 

Access Token*

 

Default Value: N/A
Examplebvn3465po98yh

String

Auto-generated upon account authorization. The access token associated with the Coupa application is used to make API requests on behalf of the user associated with the client ID. Learn more about Access Token in FAQ : Application configuration in Coupa portal for OAuth2 account.

Access tokens have 24 hrs validity; you must get a new access token after it expires.

 

Access Token Expiration

 

Default Value: N/A
Example: 15343413

Integer

Specify the time (in seconds) until which the access token must be valid.

 

Grant Type

 

Default Value: client_credentials
Example: client_credentials

Dropdown list

By default, SnapLogic supports only Client Credentials Grant Type. This grant type is typically used for system-to-system integrations—the token is automatically accepted and generated.

 

OAuth2 Token*

 

Default Value: N/A
Example: https://snaplogic-coupalink-demo.coupacloud.com/oauth2/token

String

Specify the OAuth2 token to get the access token.

Token Endpoint Config

Use this field set to configure the token endpoint parameters as necessary for the account.

Token Endpoint Parameter

 

Default Value: N/A
Example: scope

String/Expression

Specify the name for the token endpoint parameter.

 

Token Endpoint Parameter Value

 

Default Value: N/A
Example: core.accounting.read

String/Expression

Specify the value for the parameter.

 

Troubleshooting

Error

Reason

Resolution

Error

Reason

Resolution

HTTP 500: status_code_error

The Client ID is invalid or you must have provided multiple credentials. Failed authentication.

Details of the Client secret provided is incorrect.

Provide correct Client Secret value.

Snap Pack History


Related Content