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.

OAUTH2.0 Client ID and Secret in connection with username and password - how?

Meloper
Kilo Sage

Hello everyone,
I have already built some OAUTH2.0 to an external provider.
Always in connection with a client ID and a client secret.
Client Credentials and in request body.

But now a team tells me that they provide a user in addition to the ID and the secret.
I have also seen a HEader example.

It was a Curl Command with Grant_type password.

It really does contain a username and a password in addition.

But i only habe these Options:

Meloper_0-1727417977695.png

 

 

How do I get this stored in the oauth_entity table or the credentials?

Do I have to describe this as a header variable in the rest message?

So far I have always clicked on the related link “get Token” and then ServiceNow has managed this itself.

Can someone please help me?

 

I don't know where I can store username and password additionally

0 REPLIES 0