You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
my peertube instance is linked to an oauth2 server by plugin auth-oauth2, so new users can sign up this way. Unfortunately the oauth-server policies for usernames allow some special characters e.g. john-doe.whoever, which are not allowed for username in peertube.
Is there a way, to sanitize the username value before sending it to peertube, or to configure peertube to accept special characters?
Thx a lot for any suggestions!
The text was updated successfully, but these errors were encountered:
Hi,
I encountered the same issue. How can I simply replace all not allowed characters by HTML escape corresponding values at the beginning of the oAuth connection?
A more simple approach could be to transform '-' by '' and to forbid all other special characters including ''.
In fact, '-' is very common, all other special characters are rare.
Hi,
my peertube instance is linked to an oauth2 server by plugin auth-oauth2, so new users can sign up this way. Unfortunately the oauth-server policies for usernames allow some special characters e.g. john-doe.whoever, which are not allowed for username in peertube.
Is there a way, to sanitize the username value before sending it to peertube, or to configure peertube to accept special characters?
Thx a lot for any suggestions!
The text was updated successfully, but these errors were encountered: