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]: Auto-redirect unauthenticated users to Workspace auth URL for apps within that workspace #823

Open
lanedsmu opened this issue Apr 22, 2024 · 2 comments

Comments

@lanedsmu
Copy link

Applications within a workspace may have multiple (different) authentication providers. When an unauthenticated user browses to an application, that user isn't redirected to the workspace Auth URL; instead, that user is redirected to authenticate at the main Lowcoder login page.

Instead, users should be redirected to the authentication screen for the workspace that holds the application.
It would be even better if we were able to define a default provider (besides email), and they were redirected directly to that IdP, such that they never saw the email login page.

I'm wondering if it might make sense to build in a check for authentication details within an app, and then redirected via javascript to the relevant IdP...that could be a reasonable workaround, and such a thing may even offer some significant benefits to the app creator. I'm not at all sure if adding such a module or component option to an application might be easier than changing the global LowCoder platform, but I could envision that working well also, perhaps.

@lanedsmu
Copy link
Author

Very much related: when browsing to an application and being redirected to authentication, the user should be redirected back to the originally-requested app, rather than to the main Lowcoder home page.

@FalkWolsky
Copy link
Contributor

We are on it - but this is a bit bigger topic as it involves backend API change.

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