Hi! I have homarr installed on Docker, along with NPM and Authentik. I've enabled OIDC, but I don't
Hi! I have homarr installed on Docker, along with NPM and Authentik. I've enabled OIDC, but I don't see the "Start with Authentik" prompt when I try to log in.
Solution:Jump to solution
You seem to use the older version of Homarr (So
0.15.10
), if you want to stay on it then you'll need to use AUTH_PROVIDER
instead of AUTH_PROVIDERS
12 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?
Can you post your compose file with all secrets / sensitive informations redacted?
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
environment:
TZ: Europe/Madrid
AUTH_PROVIDERS: oidc,credentials
AUTH_OIDC_ISSUER: https://auth.domain.com/application/o/homarr/
AUTH_OIDC_URI: https://auth.domain.com/application/o/authorize/
AUTH_OIDC_CLIENT_ID: xxxxxx
AUTH_OIDC_CLIENT_SECRET: xxxxxxx
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./configs:/app/data/configs
- ./icons:/app/public/icons
- ./data:/data
- /etc/localtime:/etc/localtime:ro
networks:
default:
external: true
name: npm_network
Solution
You seem to use the older version of Homarr (So
0.15.10
), if you want to stay on it then you'll need to use AUTH_PROVIDER
instead of AUTH_PROVIDERS
Otherwise you can find the migration guide here
Migrate from 0.15.10+ to 1.0.0 | Homarr documentation
In this guide, we will show you how to migrate from Homarr 0.15.10+ to 1.0.0.
Ah, tremendous failure, I didn't know there was a higher version, I'll look into updating, thanks
We moved our repository and completely rewrote it. So some features you expect may have not (yet?) been implemented. It's now at
homarr-labs/homarr
and we are at version v1.18.1
It seems to be working fine now, thanks a lot for this!
Should I add some more variables besides:
TZ: Europe/Madrid
AUTH_PROVIDERS: oidc,credentials
AUTH_OIDC_ISSUER: https://auth.domain.com/application/o/homarr/
AUTH_OIDC_URI: https://auth.domain.com/application/o/authorize/
AUTH_OIDC_CLIENT_ID: xxxxxx
AUTH_OIDC_CLIENT_SECRET: xxxxxxx?¿
It also adds the new token variable, but I'm not sure what it's for. SECRET_ENCRYPTION_KEY
SECRET_ENCRYPTION_KEY
is used to store the integration secrets encrypted. So your db.sqlite file in the /appdata
directory can not be used to simply get the secrets. They first would need to know your secret to decrypt them.You can find all available env variables here
Environment variables | Homarr documentation
Homarr offers a Docker Container, which can be run on any compatible system, such as Unraid, Kubernetes and many more systems! Our Docker container is based on the
22.12.0-alpine image and serves per standard on the port 7575
.Thank you so much again.
You're welcome