401 - Invalid username/password combo using OAuth 2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2025 12:16 AM
Hi All,
We are currently implementing Single Sign-On (SSO) integration. Upon successful SSO authentication, user information is stored in the ServiceNow User table. During each login session, a unique token is generated by the external portal. This token is required to authenticate API requests using OAuth credentials in order to retrieve user-specific data from the external portal.
Since the token is dynamically generated with each login, it is essential to store this token securely within ServiceNow. The stored token will then be retrieved and used to make authenticated API calls to the external portal, ensuring seamless access to user data.
After I'm trying to get the users data from third party application using REST Message using GET Method. In that REST we have to use OAuth 2.0 authentication and authorization code, when we test it it shows the 401 error. I have attached all screenshots for your reference.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2025 11:59 AM
Hi
I tried it but it is giving the same error