Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get oauth2.0 token

deepika46
Tera Contributor

Hello experts,

 

In my http method i am using a oauth2.0 authentication. when i click the "get oauth token" in the related links of the REST MESSAGE, it shows "oauth token flow completed successfully". I need to pass token in the Payload else i am getting the error "{ "statusCode": 401, "message": "Unauthorized. Access token is missing or invalid." }" Can anyone advice me how to do it.

 

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi @deepika46 

sorry, absolutely unclear what you are talking about. Please provide more details and information. Explain what you have implemented so far and where exactly you are stuck.

Maik