Authorization issue

Shabbir1
Tera Contributor

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

 

Shabbir1_0-1703217705745.png

 

 

Regards

shabbir 

8 REPLIES 8

Sainath N
Mega Sage
Mega Sage

@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.

 

 

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 

@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.

 

 

@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.