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 03:45 AM
Hi
Are you talking about user authentication, or about machine-to-machine?
BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 03:48 AM
i am talking about user authentication from azure to servicenow then servicenow to some application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 12:24 PM
Hi
In that case, you do NOT get any token from ServiceNow, but from AZURE AD, which logs you in. Your token is "carried" in your browser as long as you do not close it and the session is configured to be valid (on AZURE).
On Azure, you wil define the "lifetime" of the authenticated user - without refreshing it.
"Other" Web-Sites (like ServiceNow as well), can make USE of THAT token and authenticate you locally.
Does that make sense for you?
BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 12:44 AM
You say that the token is "carried" in the browser after an Azure AD login, but I can't find that token anywhere. I've searched through the cookies, local storage, all the places I could think of. Where is it? Or do you have to customize the Sign in process to store it in the first place?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 03:34 PM
@DirkRedeker That's not possible, because ServiceNow - Azure authentication is on SAML based.
