Help with Authentik
Today I tried creating a Homarr server using OIDC login per these instructions.
I added an OAuth2/OpenID provider in Authentik called
Homarr
with a redirect URI https://quokka.wiki
, and an application called Homarr
with slug homarr
and with the previously made Homarr
provider.
I then made my Docker compose like so:
With AUTH_LOGOUT_REDIRECT_URL
being https://auth.mydomain.example/application/o/homarr/end-session/
.
Now what I'm most confused about is whether AUTH_OIDC_URI
should be https://auth.mydomain.example/application/o/authorize/
or https://auth.mydomain.example/application/o/token/
. I tried both and neither worked.
Now when I try to log in with Authentik, it redirects to http://localhost:7575/api/auth/error?error=OAuthSignin
. This should not happen.🙋 Single Sign On | Homarr documentation
Homarr supports multiple authentication options, from internal userbase (credentials), to LDAP (with Active directory support), and OIDC.
6 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Hi @Quokka , thanks for your question. @Tag do you have an idea?
Wait imma try something real quick
Should
NEXTAUTH_URL
be https://mydomain.example
(my Homarr) or https://auth.mydomain.example
(my Authentik)
?
Maybe relevant: https://discord.com/channels/972958686051962910/1253507936869941369/1253508688719773796
OK so I fixed itWhat was the solution?
Solution
Now the Redirect URI is
https://mydomain.example/api/auth/callback/oidc
Also I added
BASE_URL
and NEXTAUTH_URL
which are both https://mydomain.example