H
Homarr4d ago
dreevy

SSO Login Error

When attempting to login, I get the "Login with Authentik" button but an error. "login?error=configuration" in the URL.
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=secretencryptionkey # <--- can be generated with `openssl rand -hex 32`
- AUTH_PROVIDERS=oidc
- AUTH_OIDC_ISSUER=https://auth.example.dev/application/o/homarr
- AUTH_OIDC_CLIENT_SECRET=supersecret
- AUTH_OIDC_CLIENT_ID=clientidsecret
- AUTH_OIDC_CLIENT_NAME=Authentik
- AUTH_OIDC_OWNER_GROUP='authentik Administrators'
- AUTH_OIDC_ADMIN_GROUP='authentik Administrators'
- AUTH_OIDC_AUTO_LOGIN=false
ports:
- 7575:7575
networks:
authentik_default:
external: true
dockge_default:
external: true
nginx_default:
external: true
services:
homarr:
container_name: homarr
image: ghcr.io/homarr-labs/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- ./homarr/appdata:/appdata
environment:
- SECRET_ENCRYPTION_KEY=secretencryptionkey # <--- can be generated with `openssl rand -hex 32`
- AUTH_PROVIDERS=oidc
- AUTH_OIDC_ISSUER=https://auth.example.dev/application/o/homarr
- AUTH_OIDC_CLIENT_SECRET=supersecret
- AUTH_OIDC_CLIENT_ID=clientidsecret
- AUTH_OIDC_CLIENT_NAME=Authentik
- AUTH_OIDC_OWNER_GROUP='authentik Administrators'
- AUTH_OIDC_ADMIN_GROUP='authentik Administrators'
- AUTH_OIDC_AUTO_LOGIN=false
ports:
- 7575:7575
networks:
authentik_default:
external: true
dockge_default:
external: true
nginx_default:
external: true
Solution:
Looks like adding a trailing slash to .env fixed it. Docs need to be updated.
Jump to solution
3 Replies
Cakey Bot
Cakey Bot4d ago
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, ...)
dreevy
dreevyOP4d ago
code: 'OAUTH_JSON_ATTRIBUTE_COMPARISON_FAILED'
Solution
dreevy
dreevy4d ago
Looks like adding a trailing slash to .env fixed it. Docs need to be updated.

Did you find this page helpful?