Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sign-in flows underspecified #67

Closed
erik-anderson opened this issue May 14, 2021 · 2 comments
Closed

sign-in flows underspecified #67

erik-anderson opened this issue May 14, 2021 · 2 comments
Labels

Comments

@erik-anderson
Copy link

When a user encounters a site that support an IDP for which the user has an account but for which they are not currently logged in, it's not currently clear to me how the user flow is supposed to work in terms of getting signed into the IDP so that they can proceed with the RP sign in.

Is the RP site supposed to ask the user to nav away and/or open a new tab to sign into the IDP site directly before returning to the RP site? That would be unfortunate loss of context and be a significant speed bump for users.

I'd imagined there might be some flow where the site might actually want to present a list of 1 to 10 IDPs they support and let the user indicate which one they actually want to try. If not signed in, the WebID flow could allow the IDP to offer a sign-in page.

We should also think about how things should work if the user is signed in with IDP 1 but for that specific RP wants to use IDP 2 even though they have not yet logged into IDP 2 in that browser session.

If we do end up having a model where the WebID flow itself has a sign-in option, implementers should think about through what mechanism browser password extensions should be able to interact with the dialog.

@samuelgoto
Copy link
Collaborator

I'd imagined there might be some flow where the site might actually want to present a list of 1 to 10 IDPs they support and let the user indicate which one they actually want to try. If not signed in, the WebID flow could allow the IDP to offer a sign-in page.

Yes, that's my intuition of how this should behave too: " the WebID flow could allow the IDP to offer a sign-in page.".

We should also think about how things should work if the user is signed in with IDP 1 but for that specific RP wants to use IDP 2 even though they have not yet logged into IDP 2 in that browser session.

From a user-behavior backwards compatibility perspective, I was thinking that we would start with a 1:1 mapping: you click on "sign in with X", the WebID account selector only contains accounts from X. If the user is not logged in to X, we fall back to the algorithm you mentioned above, "the flow allows you to login to X".

If we do end up having a model where the WebID flow itself has a sign-in option, implementers should think about through what mechanism browser password extensions should be able to interact with the dialog.

Sure.

@cbiesinger
Copy link
Collaborator

this is basically a duplicate of #442 and will be fixed by the proposal in #442 (comment)

@cbiesinger cbiesinger closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants