issue: Sign Out then Sign In - The email or password provided is incorrect - oui-session cookie? #4842

Closed
opened 2025-11-11 16:04:31 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @gvo on GitHub (Apr 14, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.5

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

Browser (if applicable)

Chrome

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

  • Click "Sign Out"
  • Continue with Microsoft
  • User is logged back in

Actual Behavior

When user signs back in they receive {"detail":"The email or password provided is incorrect. Please check for typos and try logging in again."}.

Steps to Reproduce

  1. Click 'Sign Out'.
  2. Inspect cookies - oui-session cookie remains. Other OWUI cookies have been removed.
  3. Continue with Microsoft.
  4. Receive {"detail":"The email or password provided is incorrect. Please check for typos and try logging in again."} error.
  5. Manually delete the oui-session cookie.
  6. Can successfully log back in.

Logs & Screenshots

Image

Additional Information

Originally created by @gvo on GitHub (Apr 14, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.5 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### Browser (if applicable) Chrome ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior - Click "Sign Out" - Continue with Microsoft - User is logged back in ### Actual Behavior When user signs back in they receive **{"detail":"The email or password provided is incorrect. Please check for typos and try logging in again."}**. ### Steps to Reproduce 1. Click 'Sign Out'. 2. Inspect cookies - **oui-session** cookie remains. Other OWUI cookies have been removed. 3. Continue with Microsoft. 4. Receive **{"detail":"The email or password provided is incorrect. Please check for typos and try logging in again."}** error. 5. Manually delete the **oui-session** cookie. 6. Can successfully log back in. ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/60dff8ad-b86a-4f2f-9756-fd59a13f17be) ### Additional Information - I'm using OWUI with Microsoft OAuth authentication. - I transitioned from v0.6.2 to 0.6.5 today for testing. Rolling back to v0.6.2 made the issue disappear. - OPENID_PROVIDER_URL="https://login.microsoftonline.com/{REDACTED_TENANT_ID}/v2.0/.well-known/openid-configuration"
GiteaMirror added the bug label 2025-11-11 16:04:31 -06:00
Author
Owner

@Anaphylaxis commented on GitHub (Apr 14, 2025):

Not an issue here with Authentik and OIDC.

@Anaphylaxis commented on GitHub (Apr 14, 2025): Not an issue here with Authentik and OIDC.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4842