Application Registry with type Resource Owner Password Credentials

Najmuddin Mohd
Mega Sage

Hello Community,

I am using Application Registry with Default Grant Type "Resource Owner Password Credentials".

I have added the Client Id and Client Secret, but where do I associate the Username and Password.

I have tried "OAuthPasswordGrantType" in the OAuth API Script, and hardcoded username and password in the script, but no luck.

What is the right process to make Resource Owner Password Credentials to work, where should the Username and password should be stored.

Thanks in Advance!

Regards,
Najmuddin

2 REPLIES 2

Anand2799
Kilo Sage

Hi @Najmuddin Mohd ,

 

You don't need to provide the username and password in any field of the ServiceNow.

Follow the below process to configure:

 

Navigate to IntegrationHub → Connections & Credentials → Credentials and create a new Credential record.
Associate this credential with the previously created OAuth Entity Profile, which is available under the Application Registry record.
From the related links, select Get OAuth Token and provide the required username and password to authenticate.
Ensure that the Authorization URL and Token URL are correctly configured in the Application Registry record, and that the Redirect URL is added in the third‑party OAuth application details.
 
 
Thanks
Anand
This video demonstrates step-by-step how to build an OAuth 2.0 connection, credential, and alias for use with an integration. About: One of the most powerful features of the Now Platform is its integrations. Combining workflows with integrations enables cross enterprise workflows. This video ...

Hello @ Anand2799 ,

Thanks for the help. But, the reference that is made in the video is of Grant Type as "Authorisation Code".

But, my Grant Type is "Resource Owner Password Credentials".



NajmuddinMohd_1-1769161282388.png

 



Regards,
Najmuddin