SSO Service now Authentication with Azure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 05:38 AM
For SSO with Azure AD
I am using a package called ‘aad_oauth’ from pub.dev.
Url for the package : https://pub.dev/packages/aad_oauth
On the Azure portal created a ServiceNow Enterprise Application with SAML Single sign on.
I am successfully getting the access token from the Azure AD authentication but when passing the same token in the ServiceNow GET API as Bearer Token.
Getting the below error.
{"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}
401 Unauthrozied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 06:19 PM
Hi.
As a way to deal with the 401 error, the following site has similar information.
↓Maybe not, but I will present the site...
Azure 401 Unauthorized Errorの理解と認証問題の解決策 | AI総合研究所 (ai-souken.com)
Please hit helpful and accept this as a solution if it solved your problem.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 10:12 PM
Follow the serviecenow article to setup SSO
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0960680
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2024 10:05 AM
Hi,
I do have the same issue please if you figured out how to get access token from SAML SSO and get JWT Access token and use for other APIs working successfully please let me know