1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
AFAIK there is no way to map directly external groups from an IdP to cognito:groups
. But you can use a PreTokenGeneration Lambda function to read the custom claim with groups (typically custom:groups
) and convert it into a JWT claim named cognito:groups
.
Take a look to this sample, I hope it can help you: https://github.com/aws-samples/amazon-cognito-example-for-external-idp/tree/master/lambda/pretokengeneration
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 6 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans