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
No description
6 Replies
jrasm91
jrasm912y ago
You shouldn't need to use mobile redirect uri for authelia, since it supports mobile apps uris directly. What browser are you using?
budimanjojo
budimanjojoOP2y ago
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
jrasm91
jrasm912y ago
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?
budimanjojo
budimanjojoOP2y ago
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 try
budimanjojo
budimanjojoOP2y ago
it doesn't work without it
No description
budimanjojo
budimanjojoOP2y ago
I ended up disabling Mobile Redirect URI Override and use app.immich:/ as redirection uri in authelia and now it works fine

Did you find this page helpful?