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

Disable the default login #196

Open
satendrakumar opened this issue Aug 26, 2024 · 1 comment
Open

Disable the default login #196

satendrakumar opened this issue Aug 26, 2024 · 1 comment

Comments

@satendrakumar
Copy link

satendrakumar commented Aug 26, 2024

I integrated the OIDC with Open-webui using DeScope. It is working but the default login is still there.
I used to ENV param ENABLE_LOGIN_FORM=false but does not help.

image

Here are all the params:

ENABLE_OAUTH_SIGNUP=true
ENABLE_LOGIN_FORM=false 
ENABLE_SIGNUP=false 
OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true

here is the docker command with OIDC:

docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ~/.open-webui:/app/backend/data --name open-webui -e ENABLE_OAUTH_SIGNUP=true -e ENABLE_LOGIN_FORM=false -e ENABLE_SIGNUP=false -e OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true -e OAUTH_USERNAME_CLAIM=name  -e OAUTH_CLIENT_ID=XXXXXXXXXX -e OAUTH_CLIENT_SECRET=XXXXXXXXXXXXXXXXXX -e OPENID_PROVIDER_URL=https://api.descope.com/XXXXXXXXXXXXXX/.well-known/openid-configuration -e OAUTH_PROVIDER_NAME=DeScope  --restart always ghcr.io/open-webui/open-webui:main

I am try to disable the default login and auto redirect to OIDC. Any help would be much appreciated. Thank you.

@queentrapwatchout
Copy link

Just tried this out of curiosity on my own deployment that uses Microsoft OAuth and it doesn't work for me either.

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

3 participants
@satendrakumar @queentrapwatchout and others