I had success login to incus web-UI with OIDC, but I get a random string as username which matches de ‘sub’ attribute.
To change the username I set oidc.claim to prefferred_username but after the change when authenticated in authelia it sends me back to login screen. If I set it back to ‘sub’ (or delete) the login process success!!
config:
core.https_address: :8443
oidc.audience: https://server.local:8443
oidc.claim: preferred_username #works fine with sub
oidc.client.id: incus
oidc.issuer: https://authelia.local:9091
oidc.scopes: openid,email,profile,groups
Checking the logs, I get the following warning message
level=warning msg=“Rejecting request from untrusted client” ip="10.0.10.100:4924
I paste the authelia config file relevant sectión.
- client_id: 'incus'
client_name: 'Incus'
public: true
authorization_policy: 'one_factor'
require_pkce: false
pkce_challenge_method: ''
redirect_uris:
- 'https://server.local/oidc/callback'
- 'https://server.local:8443/oidc/callback'
audience:
- 'https://server.ies.grao:8443'
- 'https://server.ies.grao'
scopes:
- 'openid'
- 'offline_access'
- 'profile'
- 'email'
- 'groups'
response_types:
- 'code'
grant_types:
- 'authorization_code'
- 'refresh_token'
access_token_signed_response_alg: 'RS256'
userinfo_signed_response_alg: 'none'
token_endpoint_auth_method: 'none'
consent_mode: 'auto'
pre_configured_consent_duration: '1 week'
Thanks in advanced.
