- OAuth 2.0 Cookbook
- Adolfo Eloy Nascimento
- 110字
- 2021-07-08 09:35:09
Using the Resource Owner Password Credentials grant type as an approach for OAuth 2.0 migration
This recipe will show you how to configure the Resource Owner Password Credentials, or Password Credentials for short. Although this grant type should be avoided at any cost, because by using it we are asking for the user's credentials (and that's what OAuth 2.0 wants to solve by the user's access delegation), it's important to mention this recipe as a strategy when migrating from a user's credential sharing approach to the OAuth 2.0 approach. In addition, it might be used safely when both the client and the OAuth 2.0 Provider belong to the same solution.