-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Authentik OAuth2 404 Errors Connecting to Immich #13252
Comments
I don't recommend following external documentation for this type of thing. The GitHub linked in the blog post uses outdated compose files and versions. You should instead set authentik up using official documentation. Then, you can follow Immich's docs to set it up. By looking at your logs, you are using an outpost which is not needed as immich offers sso https://immich.app/docs/administration/oauth/. . Here's our official guide: https://docs.goauthentik.io/integrations/services/immich/ Using an outpost will most probably break things such as the mobile app. LMk if you have any questions or need any clarifications. I'd be happy to help you out! |
I have Authentik setup via Unraid using the image someone made. I could swap to docker-compose if needed but my existing Proxy Providers all work fine with no issue. I just re-did the setup instructions you outlined and saw no Application was created for the Provider. Is that intentional? |
Please don't share secrets in screenshots, I highly recommend you rotate that client secret. |
I updated my secrets and will hide them moving forward, but my provider looks the exact same. I'm on Authentik 2025.2.0 if that matters. Did you have an application associated with the provider? |
This seems like it may be relevant, https://www.reddit.com/r/selfhosted/comments/1gav8bl/swagnginx_authentik_oauth2/ |
Yes, that's necessary for the provider to do anything |
Okay, so I'm stumped about how to proceed. I'm guessing it's the interaction between SWAG and Authentik regarding this particular path |
I'm trying to set up Immich with OAuth2. I have had Authentik setup with SWAG for other apps like code-server and fresh rss which all work fine with a Proxy Provider. I followed the guide https://dev.to/rzumbado/immich-sso-with-authentik-2gi9 which seemed to all setup correctly, but when I hit my "photos.domain.com", I get 500 Internal Service Error
In the authentik logs I get this with no redirection to log in like usual
My swag config for Immich (photos) is
The text was updated successfully, but these errors were encountered: