The following error occurs:
{"message":"Failed to discover OpenID provider: Request failed","validationErrors":{"":["Failed to discover OpenID provider: Request failed"]},"errorModel":{"message":"Failed to discover OpenID provider: Request failed","object":"error"},"error":"","error_description":"","exceptionMessage":null,"exceptionStackTrace":null,"innerExceptionMessage":null,"object":"error"}
Logs
vaultwarden | [2026-07-01 12:00:10.518][request][INFO] POST /api/organizations/domain/sso/verified
vaultwarden | [2026-07-01 12:00:10.519][response][INFO] (get_org_domain_sso_verified) POST /api/organizations/domain/sso/verified => 200 OK
vaultwarden | [2026-07-01 12:00:10.535][request][INFO] GET /identity/sso/prevalidate?domainHint=00000000-01DC-01DC-
vaultwarden | [2026-07-01 12:00:10.540][response][INFO] (prevalidate) GET /identity/sso/prevalidate => 200 OK
vaultwarden | [2026-07-01 12:00:10.596][request][INFO] GET /identity/connect/authorize?client_id=web&redirect_uri=htt
vaultwarden | [2026-07-01 12:00:10.644][vaultwarden::sso_client][ERROR] Failed to discover OpenID provider: Request failed
vaultwarden | [2026-07-01 12:00:10.644][response][INFO] (authorize) GET /identity/connect/authorize?<data..> => 400 Bad Request
(https://github.com/dani-garcia/vaultwarden/discussions/7192) – this discusses a potential cause, although I did add the Active Directory Certificate Authority certificate using these commands:
docker cp /root/ca.crt vaultwarden-ldap-sync:/usr/local/share/ca-certificates/ca.crt
and inside the Vaultwarden-ldap-sync container:
docker exec -it vaultwarden-ldap-sync sh
update-ca-certificates
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @laqures on GitHub (Jul 1, 2026).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/7390
Prerequisites
Vaultwarden Support String
Ваша среда (сгенерирована через страницу диагностики)
Конфигурация и подробные сведения (сгенерированы через страницу диагностики)
Показать конфигурацию и подробности
Переопределяемые параметры среды: DOMAIN, ADMIN_TOKEN
Конфигурация:
Vaultwarden Build Version
1.36.0
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
NPM v2.14.0
Host/Server Operating System
Linux
Operating System Version
Ubuntu 26.04
Clients
Web Vault
Client Version
2026.4.1
Steps To Reproduce
Expected Result
Actual Result
{"message":"Failed to discover OpenID provider: Request failed","validationErrors":{"":["Failed to discover OpenID provider: Request failed"]},"errorModel":{"message":"Failed to discover OpenID provider: Request failed","object":"error"},"error":"","error_description":"","exceptionMessage":null,"exceptionStackTrace":null,"innerExceptionMessage":null,"object":"error"}
Logs
Screenshots or Videos
Additional Context
I am fairly certain the issue lies in my configuration, but I am asking for your help nonetheless.
I am using a local ADFS server for SSO; I set it up following the official Bitwarden documentation (https://bitwarden.com/help/adfs-oidc-implementation/#create-an-application-group)
and configured the Vaultwarden SSO settings using your documentation (https://github.com/dani-garcia/vaultwarden/wiki/Enabling-SSO-support-using-OpenId-Connect).
I also found a few issues that might be related to my problem, specifically:
docker cp /root/ca.crt vaultwarden-ldap-sync:/usr/local/share/ca-certificates/ca.crt
and inside the Vaultwarden-ldap-sync container:
docker exec -it vaultwarden-ldap-sync sh
update-ca-certificates
No one replied to this issue, but in my case, email addresses don't always use my domain; they might also be, for example, gmail.com.