Authentication with Password grant type
The Password grant can be used when there is a trust relationship between the user and the application.
Authenticate to SAP Concur
When authenticating through PASSWORD grant type you need to set the following connection properties:
- AuthScheme: Set this to OAuthPassword.
- OAuthClientId: Set this to your clientId.
- OAuthClientSecret: Set this to your clientSecret.
- Username: Set this to the username or userId.
- Password: Set this to the user's password.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken connection property.
- UseSandbox: Set this to true if you are authenticating using an implementation server.
- Extracts the access token from the CallbackURL.
- Obtains a new access token when the old one expires.
- Saves OAuth values along with geolocation in OAuthSettingsLocation to be persisted across connections.