- Newest
- Most votes
- Most comments
Hello, according to the documentation, the Post Authentication trigger should trigger in subsequent sign-ins for the federated users instead of the first time: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html#lambda-triggers-for-federated-users
Could you mind verify again using the correct trigger? Thanks.
Hello, thanks for the reply, I've double checked the lambda setup and it is in fact a Post Authentication Lambda. We did some more research into this and whenever we login on a fresh incognito chrome browser, the event is being triggered. Whenever we open a fully fresh new incognito instace and log in again, it is also being triggered.
My expectation is that whenever a user clicks logout (and we call the <cognito-instance>/logout from our front end) the session is deemed closed, and whenever that same user logs in again, even in that same browsing session, the post authentication lambda is triggered again.
Kind Regards
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago