Some authentication systems will accept different sets of characters for their usernames. We should allow magnify to adapt. Accepting periods by default seems legit.
Proposal
Use a placeholder string for the username validator message to allow customizing it via translation .po files
Accept period characters in usernames by default
Allow customizing the characters accepted for the username by setting the MAGNIFY_USERNAME_REGEX environment variable
Update the environment variables documentation to add the new setting
Configure Keycloak to validate usernames with the same pattern as Django
Purpose
Some authentication systems will accept different sets of characters for their usernames. We should allow magnify to adapt. Accepting periods by default seems legit.
Proposal
MAGNIFY_USERNAME_REGEX
environment variableFixes https://github.com/openfun/jitsi-magnify/issues/196