Google as Oauth provider

Community Alums
Not applicable

Hi Everyone!! I have set up the same steps which are given   in the product documentation

OAuth 2.0 tutorial - configure the Google service as an OAuth provider

OAuth 2.0 tutorial - create an OAuth provider and profile

OAuth 2.0 tutorial - create a REST message

I am able to do configuring google as Service Provider ,setting a Oauth provider in ServiceNow   and create a REST Message. But when i am testing the outbound REST message in Servicenow . I am getting 401 Client Error. I have followed exact steps described in the product documentation. any idea why this error?

5 REPLIES 5

I noticed that in your HTTP Method, the Authentication type field is set to No authentication. This needs to be changed to OAuth 2.0 and you then need to set the OAuth profile field to the profile you created in earlier steps.