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.

Plugin required for the OAuth 2.0 via REST API

nikhitha24
Tera Guru

Hi Team,

 

Can someone please help me on the below .

What are the plugin required to execute the OAuth 2.0 via REST API step in integration hub.

By the API Registry i am getting the token but the token is not useful in the REST API , it is generating the new on by the REST API is there any separate plugin is required for this.

 

Thank you.

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @nikhitha24 

 

Have you tried using Connection and Credentials ?

 

 

Thanks,
Anvesh

Hi @AnveshKumar M 

 

I have tried by giving the connection and credentials but it is not taking the token from this.

If i pass the client id, client secrete and grant type in request body by using the credentials alias i have passed my API Register but it is giving new token instead of taking from the connections.

 

Is there any specific plugins is used for this ?