ChatGPT, Perplexity, claud.ai is the same result : don’t work:
this is my config.yaml
auth:
# Local authentication will let users log in and register (if enabled) through the db.
# This is the default auth mechanism and does not require any additional configuration.
local:
# Enable or disable local authentication
enabled: true
# OpenID configuration will allow users to authenticate through a third-party OpenID Connect compatible provider.<br/>
# The provider needs to support the `openid`, `profile` and `email` scopes.<br/>
# **Note:** Some openid providers (like gitlab) only make the email of the user available through openid claims if they have set it to be publicly visible.
# If the email is not public in those cases, authenticating will fail.
# **Note 2:** The frontend expects to be redirected after authentication by the third party
# to <frontend-url>/auth/openid/<auth key>. Please make sure to configure the redirect url with your third party
# auth service accordingly if you're using the default Vikunja frontend.
# Take a look at the [default config file](https://github.com/go-vikunja/api/blob/main/config.yml.sample) for more information about how to configure openid authentication.
openid:
# Enable or disable OpenID Connect authentication
enabled: true
# A list of enabled providers
providers:
# The name of the provider as it will appear in the frontend.
- name: "authentik Login"
# The auth url to send users to if they want to authenticate using OpenID Connect.
authurl: https://auth.xxxxx.xx/application/o/vikunja/
logouturl: "https://auth.xxxxx.xx/application/o/vikunja/end-session/"
# The client ID used to authenticate Vikunja at the OpenID Connect provider.
clientid: b4OnrHzxilAPDUxxxxxxxxxxZueJmb7yOggWqi0m8b
# The client secret used to authenticate Vikunja at the OpenID Connect provider.
clientsecret: RlSjje1FJqzhOsLCXeQfXfJE0tPVxxxxxxxxxxxx6ETghOetArmRRJgvnNxxxxxxxxxxxxxi3gSXQVj76Ep99FIExxxxxqvCoifi4bf8zwzc
# scope
scope: openid profile email vikunja_scope
See here, I think this is what I used to correct the same issue I had. It has been a while so my memory may be a bit fuzzy, but you should be able to change your username via Authentik
in Authentik provider used for vikunja (OAuth2) it’s necessary to add the scope created before select "Based on the User’s hashed ID and enabled “Include Claims inid_token”: