Generating access token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 06:26 AM
Hi All,
I am using REST API, using client id and client secret i can get the access token using POST request
curl -d "grant_type=password&client_id=xxxxx&client_secret=xxxxx&username=admin&password=xxxxx##" https://devxxxx.service-now.com/oauth_token.do
Can i know how can get the access token using Authorization code.
I have seen documents but its not clear. Can any one help me on this.
Thanks in Advance,
Aditya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 06:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 06:38 AM
HI,
I have seen that, it accepts only grant_type as "password" or "refresh token".
Is there any grant types like grant_type as auth_code or code.
Can you confirm on this.
Thank,
Aditya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 06:51 AM
Seeing if joshnerius has any thoughts on this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2016 06:36 AM
Hi tomasi,
Have you got any chance to get any update on this,
Thanks,
Aditya,