Concur connection via OAuth

Document created by Rabia_Sozkesen Employee on Jun 10, 2015Last modified by mike_aronson on Feb 1, 2017
Version 3Show Document
  • View in full screen mode
Customer is trying to query Concur via OAuth 2.0.

 

Reference link for OAuth 2.0 Native Flow: IntegrateConcur - API Repository 
Right now the simpliest way to do this is through HTTP Client Calls. OAuth 2.0 Native Flow includes 2 steps. In the native flow, the partner application sends the user's Concur credentials. The application then receives an OAuth token to use for later requests.

 

1) Register your application and retrieve the Consumer Key. 
2) Setup a basic HTTP Client Call with the below values: 
In the Connection: select Basic Authentication and set the username/password in the connection.
In the Operation:
Set Request/Response Profile Type: NONE
Content Type: text/plain
HTTP Method: GET

 

And pass the X-Consumer Key in the Request Headers.

 

3) The response looks like this:

 

HTTP/1.1 200 OK
Content Length: 200

 

<?xml version="1.0"?>
<Access_Token>
    <Token>fdjhk2382kwkajsklwe8i3932kslswl</Token>
    <Expiration_date>6/1/2014 8:00:00 AM</Expiration_date>
    <Refresh_Token>8ew$sefhj7s62ns94376nsjd62s</Refresh_Token>
</Access_Token>

 

4) Obtain the Token in a Dynamic Document Property with i) Static value of 'OAuth' ii) Token.
5) Pass the Dynamic Document Property in the Request Headers of the 2nd HTTP Client Call. Update the Resource Path as needed. 
6) Same Token can be used to query Concur through OAuth 2.0.
 
2 people found this helpful

Attachments

    Outcomes