Unable to complete OAuth login - Immich & Authentik
Hi!
So I'm setting up OAuth login. I'm using Authentik. I created an OAuth2/OpenID Provider and Application using the docs.
The button to login with OAuth shows up and I get redirected correctly to Authentik. I'm prompted for my username, password, then a consent screen for using my email.. I'm then redirected back to Immich and the URL changes <immich>/auth/login?code=xxxxxx&state=xxxxxxxxx But then the login fails, I'm back at the Immich login and the text "Unable to complete OAuth login" appears.
I found the following error in the Immich server log:
I can't figure out why there is a time out and at what part of the login flow. Is it a connection / firewall issue?
So I'm setting up OAuth login. I'm using Authentik. I created an OAuth2/OpenID Provider and Application using the docs.
The button to login with OAuth shows up and I get redirected correctly to Authentik. I'm prompted for my username, password, then a consent screen for using my email.. I'm then redirected back to Immich and the URL changes <immich>/auth/login?code=xxxxxx&state=xxxxxxxxx But then the login fails, I'm back at the Immich login and the text "Unable to complete OAuth login" appears.
I found the following error in the Immich server log:
I can't figure out why there is a time out and at what part of the login flow. Is it a connection / firewall issue?