nextcloud / nextcloud/user_saml

when a value for a user/group id is too long, it should be hashed

Open
#541 1 comment 0 reactions 1 assignee View on GitHub

@blizzz is already working on this.

Since Dec 2, 2025.

1. to develop bug
Dominant language
PHP
Stars
104
Forks
85
Avg merge
1d 15h
Merged PRs (30d)
16

Description

We have a limit for user and group ids of 64 characters. At the moment, if a value from the IdP that is supposed to be used as such, is longer than this limit, there is no handling. The possibly best thing to do is to hash the id in this case and document this behaviour. As of now it would fail to write to the DB.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.