zodac
zodac
HHomarr
Created by zodac on 6/21/2024 in #💬・get-help
OIDC Auth - Stop updating roles?
Thanks so much @Laehar , that all worked perfectly. 🙂
14 replies
HHomarr
Created by zodac on 6/21/2024 in #💬・get-help
OIDC Auth - Stop updating roles?
Oh, I think see. If there's no match the logged in user is normal. If there is a match on either of those environment variables it will become admin and/or user? And the values for those cars match the group the user belongs to in Authentik? I'll give that a try tomorrow, seems like it should work as you set. 🙂
14 replies
HHomarr
Created by zodac on 6/21/2024 in #💬・get-help
OIDC Auth - Stop updating roles?
But if I set those environment values, what happens when another user (who I would like to allow log in) tries to connect? Won't they also be made admins? Or do I need to assign them to another group in Authentik?
14 replies
HHomarr
Created by zodac on 6/21/2024 in #💬・get-help
OIDC Auth - Stop updating roles?
Log: https://pastebin.com/xVKFAvQQ Operating system: Docker Exact Homarr version: 0.15.3 Configuration:
homarr:
image: ghcr.io/ajnart/homarr:0.15.3
container_name: homarr
hostname: homarr
environment:
# Auth config
AUTH_OIDC_CLIENT_ID: "clientId"
AUTH_OIDC_CLIENT_NAME: "Authentik"
AUTH_OIDC_CLIENT_SECRET: "clientSecret"
AUTH_OIDC_URI: "https://auth.site.com/application/o/homarr"
AUTH_PROVIDER: "oidc"
BASE_URL: "https://homarr.site.com"
NEXTAUTH_URL: "https://homarr.site.com"
ports:
- "7575:7575"
restart: unless-stopped
volumes:
- homarr_configs:/app/data/configs
- homarr_data:/data
- homarr_icons:/app/public/icons
homarr:
image: ghcr.io/ajnart/homarr:0.15.3
container_name: homarr
hostname: homarr
environment:
# Auth config
AUTH_OIDC_CLIENT_ID: "clientId"
AUTH_OIDC_CLIENT_NAME: "Authentik"
AUTH_OIDC_CLIENT_SECRET: "clientSecret"
AUTH_OIDC_URI: "https://auth.site.com/application/o/homarr"
AUTH_PROVIDER: "oidc"
BASE_URL: "https://homarr.site.com"
NEXTAUTH_URL: "https://homarr.site.com"
ports:
- "7575:7575"
restart: unless-stopped
volumes:
- homarr_configs:/app/data/configs
- homarr_data:/data
- homarr_icons:/app/public/icons
14 replies