-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Integrating Keycloak with Superset (v4.1.1) - Issue with OAuth Login #32287
Comments
I found a similar discussion titled Integrating Keycloak with Superset (v4.1.1) - Issue with OAuth Login which is currently unsolved [1]. To address the issue where you are redirected back to the Superset login page with the error "The request to sign in was denied," consider the following steps:
Additionally, a user shared a working configuration without installing any additional package such as To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Hello, I'm sorry you are having this trouble but I believe you were right to first open this as a discussion at #32286. It looks like this is a "how do I get this config right" question, not a "I found a bug in the Superset codebase" so I'm going to close this to keep the Superset bug tracker more manageable for devs who are trying to triage bugs. I hope you find an answer to your discussion - if you do, please post it back there to help others. I'll go post a thought over there. |
@alisharifi2000 i faced similar issue, was using custom auth for authentication, if you are running the superset as docker, make sure the host.docker.internal is enabled in your local machine using this command "docker run --rm alpine nslookup host.docker.internal", if it recognize host.docker.internal then replace localhost to host.docker.internal. if the above shows as unknown, Then switch the localhost to ip of the machine, if using linux can find it using ip route | awk 'NR==1 {print $3}' . Once you replace the localhost to this , it must work. last try if possible make the keyclock host to be 0.0.0.0 to receive request from any host. Good Luck !! |
Bug description
# Integrating Keycloak with Superset (v4.1.1) - Issue with OAuth Login
Hi everyone,
I'm trying to integrate Superset 4.1.1 with Keycloak 26.1.1, both running in Docker.
superset -> localhost:8088
keycloak -> localhost:8080
I've configured Superset with the following security manager in superset_config.py
Steps Taken:
Issue:
Checking the Superset logs, I found this error:
Screenshots/recordings
KeyCloak Configuration for my client it named superset
superset run on localhost:8088
superset login page after redirect from keycloak
error in docker logs

Superset version
4.1.1
Python version
3.10
Node version
18 or greater
Browser
Firefox
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: