HomarrH
Homarr2y ago
68 replies
Zbe

Oicd groups not working

Hello. I am using oicd to connect auth to authelia. There i have groups
admins
and
arrs
. I dont really know the difference between owner and admin in homarr, but i have set
arrs
as admin and
admins
as owner. But after login, i cannot modify the dashboards, saying I do not have the persmission.

Authelia config:
client_id: 'homarr'                                                          client_name: 'Homarr'                                                        client_secret: 'secret'         public: false                                                                authorization_policy: 'two_factor'                                           redirect_uris:                                                                 - 'https://homarr.jajaa.si/api/auth/callback/oidc'                           scopes:                                                                        - 'openid'                                                                   - 'groups'                                                                   - 'email'
          - 'profile'                                                                userinfo_signed_response_alg: 'none'
        token_endpoint_auth_method: 'client_secret_basic'

homarr:
    container_name: homarr
    image: ghcr.io/ajnart/homarr:latest
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
      - /opt/configs/homarr/configs:/app/data/configs
      - /opt/configs/homarr/icons:/app/public/icons
      - /opt/configs/homarr/data:/data
    environment:
      - TZ=Europe/Ljubljana
      - DEFAULT_COLOR_SCHEME=dark
      - BASE_URL=homarr.shsjsj.si
      - NEXTAUTH_URL=https://homarr.ajaja.si
      - AUTH_PROVIDER=oidc
      - AUTH_OIDC_URI=https://auth.sjsjs.si AUTH_OIDC_CLIENT_ID=homarr
      - AUTH_OIDC_CLIENT_NAME=Authelia
      - AUTH_OIDC_ADMIN_GROUP=admins
      - AUTH_OIDC_OWNER_GROUP=admins
    ports:
      - '7575:7575'
    networks:
      - traefik
Solution
So, the issue with my sites was my new shiny catchall.
Homarr also no longer gives group errors.
It does not sill work however.

I will try to reset the volume and see if that helps
Was this page helpful?