aws-amplify / amplify-flutter

A declarative library with an easy-to-use interface for building Flutter applications on AWS.
https://docs.amplify.aws
Apache License 2.0
1.32k stars 248 forks source link

Amplify.Auth.signOut Method Issue #5452

Closed bharathiselvan closed 1 month ago

bharathiselvan commented 1 month ago

Description

The Amplify.Auth.signOut method is not logging the user out completely. When attempting to log in again using Amplify.Auth.signInWithWebUI, the Hosted UI allows the previously signed-out account to log in without requiring re-authentication.

Categories

Steps to Reproduce

Sign in using Amplify.Auth.signInWithWebUI. Call Amplify.Auth.signOut to log out the user. Attempt to log in again using Amplify.Auth.signInWithWebUI. Observe that the Hosted UI allows the previously signed-out account to log in without prompting for re-authentication.

Screenshots

No response

Platforms

Flutter Version

3.19.1

Amplify Flutter Version

1.6.1

Deployment Method

Amplify Gen 2

Schema

No response

mahesh87ta commented 1 month ago

I also encounter same issue.

GitHub-user-Bala commented 1 month ago

I’m also encountering the same challenge.

tyllark commented 1 month ago

Hi @bharathiselvan, thank you for submitting this issue. We will take a look at this issue and get back to you when we have any updates or questions.

Equartey commented 1 month ago

Hi @bharathiselvan, this sounds like a duplicate of https://github.com/aws-amplify/amplify-flutter/issues/4747#issuecomment-2168357847. Does this comment address the what you're seeing?

Equartey commented 1 month ago

@bharathiselvan Ah, I see your comment on the feature request: https://github.com/aws-amplify/amplify-flutter/issues/1528.

This feature request is still in our backlog and besides the comment I linked above, we do not have any other guidance at this time.

I'm going to close this issue as a duplicate.

github-actions[bot] commented 1 month ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.