Lambda triggers for Cognito User Pools refresh token?

0

Do any of the Cognito User Pools Lambda triggers get fired when a refresh token is used?

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

No, no triggers are fired on that event. The trigger on the UserPool are the following: Pre sign-up, Pre authentication, Custom message, Post authentication, Post confirmation, Define Auth Challenge, Create Auth Challenge, Verify Auth Challenge Response, and User Migration. A token refresh does not trigger any re-authentication, hence no triggers are fired. When the refresh token itself has expired, the user will have to re-authenticate, and the authentication related triggers will be fired.

AWS
EXPERT
répondu il y a 6 ans

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