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

[Feat]: Different login flow when Email authentication disabled #1474

Open
meretrout opened this issue Jan 30, 2025 · 2 comments
Open

[Feat]: Different login flow when Email authentication disabled #1474

meretrout opened this issue Jan 30, 2025 · 2 comments

Comments

@meretrout
Copy link

Is it possible to change the login flow when Email authentication is disabled?

Rather than /org/12345678912345678912343/auth/login taking the user to this screen:
Image
It goes directly to the next screen:
Image

@martkaczmarek
Copy link
Contributor

martkaczmarek commented Jan 31, 2025

Agreed, we don't need do duplicate the email as it can be pulled from Oauth;
However, it only makes sense when we're in Enterprise mode (single workspace) or when there is only one workspace in SAAS mode.

In case there are different workspaces, it makes sense to first ask user for email - because Oauth providers are defined per workspace, so first we need to know username and display their workspace to select (that's what happens now)

@meretrout
Copy link
Author

Ah, OK. I was thinking that it would only apply when the workspace is specified in the login URL.

When an unauthorised user attempts to access my app, they are redirected to /org/12345678912345678912343/auth/login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants