OAuth 2.0 Device Authorization Grant feature in AWS Cognito

0

Hello,

We are trying to implement OAuth 2.0 Device Authorization Grant for our application using AWS Cognito. The specific flow we are looking for is the one specified in RFC 8628.

The Device Authorization Grant with Auth0 Identity Provider is being used in our application and this feature in Auth0 is conformant with RFC8628. Similarly, other Identity Providers also support the Device Authorization Grant conformant with RFC 8628 - for example, FusionAuth Identity Provider provides Device Authorization Grant conformant with RFC 8628 - Example Device Authorization Grant.

Since the Device Authorization Grant is an important part of our application, we are looking for the same in AWS Cognito. However, as per the blog - Implement OAuth 2.0 device grant flow by using Amazon Cognito and AWS Lambda, it appears that additional setup using AWS Lambda and AWS DynamoDB is required to achieve the Device Authorization Flow with Cognito.

Could you please help us understand whether Cognito natively supports OAuth 2.0 Device Authorization Grant conformant with RFC 8628 or the only way to implement it is by using the setup mentioned in Implement OAuth 2.0 device grant flow by using Amazon Cognito and AWS Lambda?

demandé il y a 6 mois183 vues
1 réponse
1
Réponse acceptée

AWS Cognito does not natively support the OAuth 2.0 Device Authorization Grant as specified in RFC 8628. Instead, you can implement this functionality using a custom solution involving AWS Lambda, Amazon API Gateway, and Amazon DynamoDB, as detailed in an AWS blog post.

profile picture
EXPERT
répondu il y a 6 mois
profile picture
EXPERT
vérifié il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions