Log out only invalidates the session.
You can call the global sign out , this signs out users from all devices. It also invalidates all refresh tokens that Amazon Cognito has issued to a user.
Alternatively : If you want to invalidate the refresh token then the /oauth2/revoke endpoint revokes all of the access tokens that the specified refresh token generated. This is a POST hence this would be a custom signout flow since the log out only supports HTTPS GET
Amazon Cognito user pool LOGOUT endpoint is not working as expectedAccepted Answerasked a year ago
What is allowed in the redirect_uri parameter of "https://signin.aws.amazon.com/oauth?Action=logout&redirect_uri=https://aws.amazon.com"?asked 3 months ago
What does the Cognito Logout endpoint (/logout) actually do?asked 3 months ago
Is Cognito OAuth Logout 'state' param supported?asked 9 months ago
Cognito Federated user logoutasked 7 months ago
Cognito logout endpoint doesn't support options, so how can CORS preflight work?asked 5 months ago
Logout from an ALB session that is authenticated by Cognitoasked 4 years ago
cognito hosted ui logout failing withasked 2 years ago
Single Logout using SAML authentication optionasked 3 years ago
Automatic logout + lockout accounts for some time after failed loginsasked a year ago