usememos / memos

An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
https://usememos.com
MIT License
30.9k stars 2.32k forks source link

Username need to support email formats #4001

Open jkoor opened 1 week ago

jkoor commented 1 week ago

Describe the solution you'd like

The username field does not support email formats. This may causes some problems when logging in using oAuth2:

  1. Unable to match registered user. Only English and numeric usernames are supported for registration. But Google support use Blank Space on username.
  2. When I changed username on Google or Github, Memos will create a new user to login. All data is missing!

    Although email mapping is supported, the administrator always needs to be the first to register.So I can't match oauth user to administrator.

Type of feature

User Experience (UX)

Additional context

No response

Samarthasbhat commented 1 day ago

@jkoor I have signed in this Memo live demo website. And the username and password is already saved. I want to know how it works and there we need to add google account or github credentials for login/signup method.

jkoor commented 1 day ago

@jkoor I have signed in this Memo live demo website. And the username and password is already saved. I want to know how it works and there we need to add google account or github credentials for login/signup method.

Only Administrator can add google account or github credentials for login/signup method. If you are administrator, just search google oauth. You can find many guidance about it.