Skip to content

[NetBird] Authelia integration #267

@vehagn

Description

@vehagn

NetBird currently uses preferred_username as AUTH_USER_ID_CLAIM which is unsafe as it can be changed. Preferably the sub claim should be used as it's guaranteed immutable. See this Authelia discussion.

At the moment this is not a big issue since username can't be changed in Authelia/LLDAP which is the information used for the preferred_username.

Using the sub claim is also not preferred as it's difficult to distinguish which user is which.

Wait for NetBird to enable some kind of alias functionality? Does NetBird use the UserInfo endpoint to fetch this info?

What does USE_ID_TOKEN=false actually mean does NetBird then use the AccessToken? But for what?

Tried asking in NetBird Slack.

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