nextcloud / nextcloud/user_saml
when a value for a user/group id is too long, it should be hashed
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.