Skip to content

Login attributes do not get updated (authentik) #316

@mtnstar

Description

@mtnstar

Hi

thanks for creating this great nextcloud app!

we configured the attributes mapping like this in config.php:

'oidc_login_attributes' => array(
  'id' => 'sub',
  'name' => 'name',
  'mail' => 'email',
),

when checking the JWT, the required attributes are present:

{
    "iss": "https://auth.example.com/application/o/nextcloud/",
    "sub": "user-alice",
    "aud": "abCD42...",
    "exp": 1753251754,
    "iat": 1753249954,
    "auth_time": 1753249954,
    "acr": "goauthentik.io/providers/oauth2/default",
    "email": "alice@example.com",
    "email_verified": true,
    "name": "Alice",
    "given_name": "Alice",
    "preferred_username": "user-alice",
    "nickname": "user-alice",
    "groups": [
        "authentik Admins",
        "employees"
    ]
}

but non of the specified attrs are being updated! are those attrs updated from user endpoint or from the JWT? Is it a bug or did we configure something wrong? E-Mail is not set at all, Full Name is set to user-alice (sub)

thx for your help

Authentik: 2025.6.3
Nextcloud: 31.0.7
OpenID Connect Login: 3.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions