How to get user token when service now is sso authenticated to pass authentication to another application

manish64
Giga Guru

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.

11 REPLIES 11

Ashutosh Munot1
Kilo Patron
Kilo Patron

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

are you talking about oauth authentication ? but that is application to application authenctaion. could please elaborate more??

 

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

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.