Replies: 1 comment 2 replies
|
Hi @iilrgmv! I'm Dosu and I’m helping the superset team. There isn't a built-in or documented configuration option in Superset 6.0.0 to auto-redirect from the login page to your sole OAuth provider (like Keycloak) and skip the intermediate login screen. This is due to architectural changes in Superset 6, which removed previous extension points for customizing the login flow via configuration alone. The recommended approach is to subclass A feature flag, For now, in 6.0.0, the custom To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Uh oh!
There was an error while loading. Please reload this page.
Description
When using Superset 6.0.0 with OAuth authentication (Keycloak), there does not seem to be a supported or documented way to skip the default Superset login page (/login/) and redirect users directly to the external IdP login page (/login/keycloak).
This results in an extra, unnecessary intermediate page where the user must click a button to continue to Keycloak, even when:
In previous versions and in other frameworks, it is common to support an “auto-login” or “auto-redirect” behavior when a single OAuth provider is configured.
Environment
Superset version: 6.0.0
Authentication: AUTH_OAUTH
OAuth provider: Keycloak (OIDC)
Deployment: Kubernetes (Helm chart)
Reverse proxy / ingress: Yes (HTTPS)
Current behavior
User accesses https:///
Superset redirects to /login/
Superset displays a login page with a button (e.g. “Login with Keycloak”)
User must manually click the button
Only then is the user redirected to Keycloak
Expected behavior
When:
AUTH_TYPE = AUTH_OAUTH
Only one OAuth provider is configured
Superset should provide a built-in and supported way to:
Automatically redirect users from /login/ to /login/
Or allow configuration to skip the intermediate login page entirely
What we tried
Why this matters
One of the following:
Additional context
This is not a security issue, but a UX and configurability limitation that affects enterprise OAuth deployments.
All reactions