Is it possible to use the password grant_type flow with AWS Cognito ?

0

I don't find any trace of the password grant_type flow in AWS Cognito https://datatracker.ietf.org/doc/html/rfc6749#section-1.3.3 why ?

asked 7 months ago324 views
1 Answer
0

Hello,

From the description of the issue I understand that you wish to know if 'Password Grant' is one of the supported flows in Cognito or not.

I would like to mention that at the moment Cognito does not support the 'Password Grant' flow. In this flow, the resource owner password credentials (i.e., username and password) can be used directly as an authorization grant to obtain an access token. As in the flow, the credentials are used directly so for security concerns the flow is not currently supported. The flow should only be used when there is a high degree of trust between the resource owner and the client (e.g., the client is part of the device operating system or a highly privileged application), and when other authorization grant types are not available (such as an authorization code). Hence, AWS Cognito does not currently natively support the password grant type in OAuth2. Instead, Cognito uses SRP (Secure Remote Protocol) to authenticate users which is a more secure method.

In addition to that, please keep an eye on the What's New Page[1] and AWS Blogs[2] to know more about future releases.

I hope that the above information helps to address your concerns

Reference links:

[1]. What's New: https://aws.amazon.com/new/

[2]. AWS Blogs: https://aws.amazon.com/blogs/aws/

AWS
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions