Setup OAuth when SSO is configured for instance

Glenn8
Tera Contributor

Good Afternoon.

I am attempting to setup an OAuth API endpoint for an application, however when we attempt to make the initial connection from the application to our ServiceNow instance, we are being prompted for a SSO login (we are are using SSO/Shibboleth for our standard users).

When connecting via basic auth from the external application, we are able to connect successfully.

Is there a way to bypass SSO , when connecting to the ServiceNow instance via OAuth and/or is there something/account we need to setup within Shibboleth in order for the application to connect successfully via OAuth.

 

Thank you for any advice you can provide

 

1 REPLY 1

Shree_G
Mega Sage

Hello @Glenn8 ,

 

in OAuth setup, you must user authenticate for the first time to fetch the token post which, you don't need to authenticate using a user account.

Once successful, OAuth lets users access instance resources through external clients by obtaining a token rather than by entering login credentials.


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.