REST API OAuth failed for ITIL user and not for admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 02:10 PM
Hi Team,
I am working on servicneow to servicenow integration. REST API outbound Basic authentication working for admini user and ITIL user .
Result: SN1 creates the records in SN2 Instance using post...When i tried with OAuth authentication it is working for admin ,not for IYIL User
Error: user not authenticated (required to provide auth information).
I tried with provide the read acceess on oauth_credentails table to ITIL user.
Please share there is any workaround solution for this issue.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 02:53 PM
Hi @Bhargava ram Ch ,
Are you connecting both instance using service account with all required roles.
SN1 is calling post REST using the SN2's service account ( that account should have required role as per create/write ACL).
Check the same using the Postman with basic authentication.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 07:31 AM
Hello Mishra,
Thank you for your response.
I test with post working fine. Only inn SN i am getting this issues.
Thanks,
Bhargava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 09:55 AM
itil user has required role or any ACL is restricting ITIL users.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution