Discord OAuth: "userinfo_endpoint must be configured on the issue #14452
Kunsi
started this conversation in
Feature Request
Replies: 2 comments
|
Thanks for the feature request. Immich currently supports OIDC, not all OAuth, so Discord wouldn't be expected to work. |
0 replies
|
As a workaround you could consider using something like https://dexidp.io/ as an intermediate layer. That's also nice if you're doing IaC for a bunch of different apps as then you don't need to configure a bunch of different oauth clients with Discord. |
0 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.
Uh oh!
There was an error while loading. Please reload this page.
The bug
We're using Discord to provide SSO for our users. When configuring immich to use Discord as OAuth provider, the login flow works, however the OAuth login does not succeed. The log says
Unknown error: TypeError: userinfo_endpoint must be configured on the issuerThe OS that Immich Server is running on
debian bookworm
Version of Immich Server
v1.118.2
Version of Immich Mobile App
not used
Platform with the issue
Your docker-compose.yml content
Your .env content
# not used, see aboveReproduction steps
Relevant log output
Additional information
Discord does not provide a userinfo endpoint: https://discord.com/.well-known/openid-configuration
This was also already solved in another software we're using (but issue was reported by someone else): plankanban/planka#875
This issue also occurs when using the docker-compose file in this repository, however due to circumstances beyond my control we cannot use that in production. I verified this in our development setup though.
All reactions