# SAP Concur

SAP Concur uses the OAuth authentication standard. To authenticate using OAuth, you will need to create an app to obtain the OAuthClientId, OAuthClientSecret, and CallbackURL connection properties.&#x20;

Set the following connection properties and follow the steps below to call stored procedures to obtain the access token.

* OAuthClientId: Set this to the Key in your app settings.
* OAuthClientSecret: Set this to the Secret in your app settings.
* CallbackUrl: set to <http://localhost:3333>

When you test the connection, the provider gets OAuthAccessToken  and stores it in the OAuthSettings Location

To automatically refresh the token when it expires, set InitiateOAuth to REFRESH.

#### Important connection property: LoginId

&#x20;Login ID of the user. Can be used if the user account associated with the OAuth 2.0 access token has a Concur account with one of these roles: Web Services Administrator for Professional or Can Administer for Standard. Setting the Login ID to "ALL" will retrieve information for all accounts at the expense of certain tables that do not support this argument.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appstrategy.com/apprules-r-documentation/platform/platform-features/system-settings/data-sources/connection-settings/expensemanagement/sapconcur.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
