Username with special characters

my peertube instance is linked to an oauth2 server, so new users can sign up this way. Unfortunately the oauth-server policies for usernames allow some special characters e.g. john-doe.whoever
What can i do, to allow these users to register with their usernames?

Thx a lot for any suggestions!


What plugin do you use?

I’m using auth-oauth2 v. 1.0.6

Then I suggest you to open an issue on to ask the maintainer if it can sanitize the username value before sending it to peertube.

Thank you, I opened an issue and wait for response.