How to get user token when service now is sso authenticated to pass authentication to another application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 12:56 AM
Hi ,
I have scenario where i need to pass user token from service now to another application to get authenticated.As our service now instance is sso authenticated with azure ad . Do we have that information stored in servicenow which i can use and pass information to another application.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 02:29 AM
HI,
We have oAuth profile in servicenow. We have done one implementation where we have SSO for AZure federated service. So what we do is first we go to Azure AD to get the access token for that user who wants to authenticate then we use that token from Azure to authenticate with servicenow. This is simple and easy to maintain.
We pass this token in REST message header which is valid for a limited period of mins.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 03:43 AM
are you talking about oauth authentication ? but that is application to application authenctaion. could please elaborate more??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2020 05:24 AM
HI,
You can get token from Azure Ad and get authenticated if you have Azure SSO in your environment. We do this as well. We take Token from Azure Ad using Servicenow and then go to workday,etc.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 03:36 PM
Hi @Ashutosh Munot1 I have similar requirement and I am struggling for weeks. Can you please elaborate more on how to get token from Azure AD (for the user who is logged-in in ServiceNow)?
Are you referring to Application Registry?
Please help.