How can i get the token url and authorization url

adityagelli
Kilo Contributor

I am using REST to connect to ServiceNow using OAuth2. How can i get the token url and authorization url. I am able to get the client Id and client secret.

Can any one help on this.

8 REPLIES 8

Deepa Srivastav
Kilo Sage

Hi Aditya,



Please check below blog and the community thread...might help you.



How to setup OAuth2 authentication for RESTMessageV2 integrations



Rest API OAuth returns not Authorized error



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.



Thanks,
Deepa


Hi Deepa,



In the 4th step of the document, it has mentioned Oauth as one of the authentication but i am not seeing in my page i am seeing remaining 2 modes of authentication.



Thanks,


Aditya,


Yasar2
Tera Contributor

Hi Aditya,

try token url : https://YourInstance.service-now.com/oauth_oauth.do

Token url :https://YourInstance.service-now.com/oauth_oauth.do

Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.

Thanks

Yassar

Is this answer still viable? I tried hitting this endpoint to now avail