hackmdio / hackmdio/codimd

Using "username" for user's name with SAML authentication

Open
#1,543 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Dear maintainers,

When using LDAP as an authentication backend a `displayName` option is available and is displayed in the top right corner next to the user's avatar.
When using SAML such alternative doesn't exist and the code defaults to displaying the `username` attribute.
The documentation doesn't currently state what properties `username` needs to meet nor if this field needs to be unique between users.

Could someone clarify if:
1. `username` can contain non unique identifiers.
2. if `username` can containing non-ASCII characters
3. using a name such as "John Doe" is acceptable

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.