Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

OAuth Authentication

SKum
Kilo Sage

Hello,

 

Question on  how OAuth works in ServiceNow. looks like we need a user account in ServiceNow for an external system to connect to ServiceNow to get the token
Can we do without a user account? If so can you please help with the steps.

 

Thanks,

2 REPLIES 2

Sarthak Kashyap
Mega Sage

Hi @SKum ,

 

Please check below articles 

 

https://www.servicenow.com/community/developer-blog/oauth-2-0-with-inbound-rest/ba-p/2278926

https://www.youtube.com/watch?v=MFTPHx-2Ky8

https://www.youtube.com/watch?v=QysIsj4EqXE

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

OAuth2.0 Authentication in ServiceNow | Inbound Integration with OAuth token OAuth 2.0 lets users access instance resources through external clients by obtaining a token rather than by entering login credentials with each resource request. OAuth external client scenario (Inbound): Your instance ...

Ankur Bawiskar
Tera Patron

@SKum 

see if it works with grant type as Authorization code without local account

I believe the local user is required only once to allow access to resources

Up Your OAuth2.0 Game: Inbound Client Credentials with Washington DC

OAuth Inbound Authentication with ServiceNow: Authorization Code Grant Flow Using Postman 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader