Search⌘ K
AI Features

Resource Owner Credentials Grant

Explore the Resource Owner Credentials grant in OAuth to understand how it allows trusted clients to exchange user credentials for access tokens. Learn the step-by-step flow, the associated security risks, and why this grant type is mostly deprecated in favor of more secure methods.

The Resource Owner password credentials grant type is used in cases where the resource owner trusts the client and is ready to share its credentials with the client. The authorization server should take special care when enabling this grant type and only allow it when other flows are not viable.

This flow was introduced to migrate existing clients using direct authentication schemes such as HTTP Basic or Digest authentication to OAuth by converting the stored credentials to an access token. Today, there is no case in ...