[DOCS-15768] [Server] Document username length limit Created: 29/Nov/22  Updated: 13/Nov/23  Resolved: 08/Feb/23

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 4.4, 5.0.0, 6.0.0, 6.1.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Gabriel Marks Assignee: Alison Huh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 1 year, 10 weeks, 1 day ago
Epic Link: DOCSP-11702

 Description   

Based on investigation from HELP-39572, there is an undocumented limit on username size in bytes of ~7.99MB. It might be a good idea to document a limit of 7MB or so. Note - there is a documented limit of 10kB only for $external authentication users documented here: https://www.mongodb.com/docs/v4.4/reference/limits/#mongodb-limit-Sessions-and--external-Username-Limit. This limit applies back until at least MongoDB 4.4, and forward until today.


Generated at Thu Feb 08 08:13:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.