OAUTH2, Grant = Authorization code failing between Postman and ServiceNow

sandeeprawat
Tera Expert

Unable to connect from Postman to Servicenow (Personal dev) via OAUTH2.0 with grant as 'authorization code'.

Postman setup

find_real_file.png

 

find_real_file.png

On clicking 'Get New Access Token' I do get a serviceNow login screen to authenticate where I am able to provide credentials.

That takes me to next page for 'Allow' or 'deny' access.

find_real_file.png

On Allow

find_real_file.png

I am not sure where is the setting wrong.

Client ID and secret are correct.

Has anyone successfully setup the authorization code flow for ServiceNow ? Please advise.

Thanks

 

@Ankur Bawiskar : can you please check and assist on this ? I seen your training videos on Integrations and hoping that you might have some ideas.

 

1 ACCEPTED SOLUTION

sandeeprawat
Tera Expert

Thanks for responding Sanjiv,

I just found out the issue, it was a typo in the Access Token URI.

Correct one :https://dev55284.service-now.com/oauth_token.do

View solution in original post

2 REPLIES 2

SanjivMeher
Kilo Patron
Kilo Patron

Do you have the right redirect URL set in ServiceNow?


Please mark this response as correct or helpful if it assisted you with your question.

sandeeprawat
Tera Expert

Thanks for responding Sanjiv,

I just found out the issue, it was a typo in the Access Token URI.

Correct one :https://dev55284.service-now.com/oauth_token.do