We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to connect with Resource owner password credentials OAUTH2 Grand Type?

Meloper
Kilo Sage

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1647747#:~:text=The%20Resourc....

 

Hi, 

in the Application Register (oauth_entity) i can select the mentioned Grand type.
How to i pass Username and Password with that?

 

I have now the oauth_entity Record, the oauth_entity_profil and i have create a Rest Message connected to that Profil.


whats next?

With the client credentials grddn type i is easy, i click on getAouthToken, and the magic happens.

But with the metntioned grand type, i need to send also Username and Password and dont know where and how to get the token.

 

In addition it need to be done with a midserver

o

1 REPLY 1