Open nikhilvashisht opened 2 years ago
@nikhilvashisht I believe this might be a limitation with the Cognito service's Hosted UI feature, but we will try to investigate a fix.
I am facing the same Issue with Microsoft Active Directory LogIn. What about a LogInOption like "shouldShowUserSelector". Then Amplify is redirecting to the Google SignIn Mandatory.
Found a similar Issue in the AmplifyJS Library too.
This change change is a bit frustrating to deal with... Has anyone figured out how to get around it?
@Jordan-Nelson I see you assigned it to yourself, any idea how far in the backlog this is?
If this isn't resolved in the next month we'll be dropping amplify and perhaps cognito as a whole :/
Hope this will get fixed soon, we are currently remove signInWithWebUI feature and waiting for this.
Hello all - In order to fully resolve this issue and present the account chooser screen each time the prompt parameter is required. This parameter is currently not supported by Cognito. Support for this in in their backlog, but I do not have a timeline when support will be added.
We recently released a new developer-preview version of amplify-flutter (amplify_flutter v1.0.0-next.0) that I believe will improve (but not completely resolve) this issue. With the new version, the behavior should be aligned across each platform.
The behavior in the new version should be as follows:
*The browser used for social sign in will be the default browser for the device on all platforms with the exception of on iOS which will always use Safari.
You can read more about the developer preview release in the blog post and docs. If you have a chance to try out this dev-preview version, please let us know if you have feedback.
Hi @Jordan-Nelson, thank you for explaining the new behavior. For google sign in, it works as want you said. How about for Facebook?
I am testing my application now with Facebook sign in. After I signed in with Facebook, I am not able to change Facebook user anymore. Even I delete the Facebook user in Cognito, the record will also be recreated without asking me to sign in again.
Is there any way for this? Thank you
@benedict1986 - I believe if you sign out of Facebook in your devices default browser, it will prompt you to sign in again. This would be the same behavior as Google. Please let me know if you are seeing different behavior.
Thank you @Jordan-Nelson, it works. I need to sign out from the browser.
If you are logged into exactly one Google account in your default browser* you will not be given the choice of which account to use. You will be automatically logged in with that account.
The SDK should offer a way to force the multiple account view even if only one account is present. In my opinion, it is an undesirable behavior to have the app decide automatically which account to use for signin without informing the user.
@Jordan-Nelson is such an option on the roadmap ?
Hello @raph - This is not currently on the roadmap for Amplify as it requires a change from Cognito first. There is an open request with Cognito to support this, but I do not know if this in on the Cognito roadmap yet.
If this is something you would like to see supported, please give the issue a 👍. It helps us quickly gauge interest in a request and pass that feedback/interest along to the Cognito team.
Hello @Jordan-Nelson, yes it is an important required feature. We are also facing the same issue right now.
Facing the same issue.
Hey @Jordan-Nelson I would say the same ☝️ It's an important feature. The user doesn't know he has to close the Google/Microsoft/whatever session in another browser tab in order to login with a different user. So he thinks like logout is not actually working....
Same issue over here
Having the same issue also..
Having same issue here, if we can pass prompt parameter really help
Hi, any news on wheather this is being worked on or not?
@AdrshBista Actually I think there is a new version of amplify v6. I haven't tried it yet but it might have the solution for this problem.
Hi folks, this is not currently being working on in Amplify as it requires changes in Cognito. As far as I know this is not being worked on in Cognito.
@alexomon018 Amplify JS v6 was released recently. I don't think this issue is resolved in Amplify JS v6 as it requires changes in Cognito. Also, Amplify JS is separate from Amplify Flutter. The latest version of Amplify Flutter 1.x.
@Jordan-Nelson can you work with the Cognito team to get some visibility into their roadmap? The amount of tickets that are blocked by the Cognito team is staggering and probably also very frustrating for the amplify team. While the amplify team is quite transparent through Github activities for us developers it just appears like nothing is being worked on by the Cognito team.
This is a problem for us too. I've observed the same as @flodaniel, seems a lot of issues we run into using Amplify are blocked by Cognito
I’m experiencing the same issue. Are there any solutions or workarounds available? Thanks in advance!
Hi @bharathiselvan,
This feature request is still in our backlog and we do not have any other guidance at this time.
When have updates, they will be provided here.
Any updates on this feature request?
Hi @devsideal, we do not have any updates at this time. When we do have an update we will provide it here.
This issue bring shame on AWS and its ecosystem and illustrates how the company has become a clogged up corporate machine unable to listen to the simplest user demands. Totally unacceptable handling.
Any news on this?
Unfortunately we do not have any update at this time. When have updates we will provide it here.
Updated Description
Request: When an end user logs in via Hosted UI (Sign in with Google, Apple, etc.) the prompt to choose account should always be displayed. This should either be the default behavior, or be configurable.
Current Behavior: The choose account prompt will not display if the user is already logged into one (and only one) account. Below is the detailed behavior using Sign in with Google:
*The browser used for social sign in will be the default browser for the device on all platforms with the exception of on iOS which will always use Safari.
Original Description