Skip to Content
Docs

Password Grant

Description

The Password Grant connection type (password-grant) uses the OAuth 2.0 Password Grant, also known as the Resource Owner Password Credentials (ROPC) grant. The application obtains an access token directly with the resource owner’s username and password.

Use this grant only when the application is highly trusted by the user, such as a first-party application, and the user can provide their credentials to it directly.

Required Information

After you select this type in Connection Type, the console asks for the following fields. Every connection also has a Connection ID, Connection Name, and Connection Type.

Field Required Description
Endpoint Yes The base URL of the API.
Auth Endpoint Yes The token URL used to obtain an access token.
Username Yes The username of the resource owner account.
Password Yes The password of the resource owner account. Stored as a secret.
Client ID Yes In the Client group. The ID of the client application.
Client Secret No In the Client group. The secret for the client application, if the authorization server requires one. Stored as a secret.
Audience No The intended recipient of the token.
Scope No The level of access and permissions the token grants.
Content Type No The format of the token request: application/json or x-www-form-urlencoded.
Headers No Optional HTTP headers sent with each request. Under Headers, select Add, then enter a Key and Value. Values are masked like other secrets. Select Remove entry to delete a header.