OIDC is not working on mobile anymore
I just configured a new phone, and I can't login using OIDC anymore. It was working before. I have "Mobile Redirect URI Override" enabled and my oidc provider (authelia) is set to allow redirect uris from
https://immich.url/api/oauth/mobile-redirect
and it shows me this error
6 Replies
You shouldn't need to use mobile redirect uri for authelia, since it supports mobile apps uris directly.
What browser are you using?
If I don't use mobile redirect uris, it will give another error about the uri is not authorized or something. I'm not using mobile browser to login, but through the mobile app.
I found the problem! It's because I have AOSP Browser installed from my crdroid ROM. I disabled the app and it opened the authentication from firefox instead and now it works! Thanks for the hint mentioning browser @jrasm91
Nice!
Still, going back to the redirect uri - you shouldn't need the override enabled for authelia. Did you app the
app.immich:/
as a redirect uri in authelia, in addition to /auth/login
?no, I only use
https://immich.url/api/oauth/mobile-redirect
instead of app.immich:/
and enabled Mobile Redirect URI Override
. Maybe I can try disabling it and use nothing? I'll tryit doesn't work without it

I ended up disabling
Mobile Redirect URI Override
and use app.immich:/
as redirection uri in authelia and now it works fine