スキップしてコンテンツを表示

AdminDisable User doesn't seem to disable the previously issued access token

0

Hi, I am using AdminDisable User API to disable a user account, on repetitive failures to login. The documentation here https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminDisableUser.html mentions that the tokens will be revoked on calling this API. Does this process revoke all previously issued access tokens and refresh tokens? I doesn't seem to do that.

1回答
0

Calling AdminDisableUser in Amazon Cognito does not immediately revoke all previously issued access tokens. It prevents the user from authenticating again and invalidates refresh tokens going forward, but any already issued access tokens remain valid until they expire. To actively revoke tokens in real time, you may consider using Cognito token revocation features (e.g., RevokeToken API) with token revocation enabled on your app client.

https://docs.aws.amazon.com/cognito/latest/developerguide/token-revocation.html

https://docs.aws.amazon.com/cognito/latest/developerguide/token-revocation.html

エキスパート

回答済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ