Authorization issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 08:02 PM
Hi
I have created a GET API to fetch the all open incidents by using rest API explorer and I have created basic user account for authentication its working fine with POSTMAN we are getting results ..but the issue is for same API if we are using any other account in ServiceNow (user name and password) we are getting authentication error can anyone suggest how to achieve this sharing screen shot for reference
Regards
shabbir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 08:08 PM - edited 12-21-2023 08:10 PM
@Shabbir1 : Integrations doesn’t work with SSO user accounts and works only with service accounts (user accounts whose password is updated in the user record).
For SSO users, password doesn’t reside on user records and during the time of authentication it gets authenticated from the corresponding SSO provider.
Thats the significance of service accounts when compared with user accounts. Please try with any of the service account and check the behavior.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 11:00 PM
Hi Sainath
Thank you for your response yes it is working fine with service accounts. So how we can achieve this with SSO accounts for example I have an SSO account in ServiceNow how can I do authentication from POSTMAN with my credentials is it possible ..? or we have to go with only with service accounts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 11:05 PM
@Shabbir1 : No it’s not possible. We need to use only service accounts for basic authentication.
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2023 09:12 PM
@Shabbir1 : Did my response address your question, or is there anything else I can help you with?
Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.