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?

已提問 6 年前檢視次數 845 次
1 個回答
0
已接受的答案

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
專家
已回答 6 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南