[Python] Revoke AWS cognito token(invalidate jwt tokens immediately) in python

Discussão em 'Python' iniciado por Stack, Janeiro 23, 2025.

  1. Stack

    Stack Membro Participativo

    Revoking the current session token and re-login from another session, for this we have used certain methods from cognito as like revoke_token but here they are using jwt tokens they are stateless and could not be revoked immediately only be expired as per their time. We also used globalsignout and signout from cognito, at that time they are revoking the access token from the latest session rather than terminating the first session. May I know if anyone could just help me out of this?

    Continue reading...

Compartilhe esta Página