OpenID with other account causes duplicate key error #4590
Unanswered
mschmidwalnuts
asked this question in
Troubleshooting
Replies: 1 comment 4 replies
-
Are you using Azure Cosmos DB? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a LibreChat instance hosted on Azure. I'm using our OpenID (Azure Entra) to provide authentication. After setting up a clean instance, I logged in with one account (A). That worked without an issue. Now everytime I try to login with a different account (B) the following error is generated:
Configuration:
OPENID_CALLBACK_URL=/oauth/openid/callback
OPENID_CLIENT_ID=redacted
OPENID_CLIENT_SECRET=redacted
OPENID_ISSUER=https://login.microsoftonline.com/redacted/v2.0/
OPENID_SCOPE=openid profile email
OPENID_SESSION_SECRET=redacted
ALLOW_REGISTRATION=false
ALLOW_SOCIAL_REGISTRATION=false
ALLOW_EMAIL_LOGIN=false
ALLOW_SOCIAL_LOGIN=true
ALLOW_UNVERIFIED_EMAIL_LOGIN=true
I'm running on the latest image of librechat (ghcr.io/danny-avila/librechat-dev-api:latest)
Beta Was this translation helpful? Give feedback.
All reactions