allow the either username or email is empty which returns from oauth 2.0 provider, but require both to be present when automatically registering a new user

This commit is contained in:
MaysWind
2026-01-16 00:00:28 +08:00
parent 43a6d1be0f
commit 83a34ae322
20 changed files with 119 additions and 5 deletions
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "OAuth 2.0 ಟೋಕನ್ ಅಮಾನ್ಯವಾಗಿದೆ",
"cannot retrieve user info from oauth2 provider": "OAuth 2.0 ಪೂರೈಕೆದಾರರಿಂದ ಬಳಕೆದಾರ ಮಾಹಿತಿಯನ್ನು ಪಡೆಯಲು ಸಾಧ್ಯವಿಲ್ಲ",
"oauth2 user already bound to another user": "OAuth 2.0 ಬಳಕೆದಾರ ಈಗಾಗಲೇ ಇನ್ನೊಬ್ಬ ಬಳಕೆದಾರನಿಗೆ ಬೌಂಡ್ ಆಗಿದ್ದಾನೆ",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Neveljaven žeton OAuth 2.0",
"cannot retrieve user info from oauth2 provider": "Ni mogoče pridobiti podatkov o uporabniku od ponudnika OAuth 2.0",
"oauth2 user already bound to another user": "Uporabnik OAuth 2.0 je že povezan z drugim uporabnikom",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Geçersiz OAuth 2.0 jetonu",
"cannot retrieve user info from oauth2 provider": "OAuth 2.0 sağlayıcısından kullanıcı bilgisi alınamıyor",
"oauth2 user already bound to another user": "OAuth 2.0 kullanıcısı zaten başka bir kullanıcıya bağlı",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "无效的 OAuth 2.0 令牌",
"cannot retrieve user info from oauth2 provider": "无法从 OAuth 2.0 提供者获取用户信息",
"oauth2 user already bound to another user": "OAuth 2.0 用户已经绑定到另一个用户",
"user name and email from oauth2 provider are both empty": "来自 OAuth 2.0 提供者的用户名和电子邮箱均为空",
"user name from oauth2 provider is empty": "来自 OAuth 2.0 提供者的用户名为空",
"email from oauth2 provider is empty": "来自 OAuth 2.0 提供者的电子邮箱为空",
"user name from oauth2 provider is empty, cannot register new user": "来自 OAuth 2.0 提供者的用户名为空,无法注册新用户",
"email from oauth2 provider is empty, cannot register new user": "来自 OAuth 2.0 提供者的电子邮箱为空,无法注册新用户",
"explorer id is invalid": "探索ID无效",
"explorer not found": "探索不存在",
"explorer data is invalid": "探索数据无效",
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "無效的 OAuth 2.0 令牌",
"cannot retrieve user info from oauth2 provider": "無法從 OAuth 2.0 提供者獲取使用者資訊",
"oauth2 user already bound to another user": "OAuth 2.0 使用者已綁定到另一個使用者",
"user name and email from oauth2 provider are both empty": "來自 OAuth 2.0 提供者的使用者名稱和電子郵件均為空",
"user name from oauth2 provider is empty": "來自 OAuth 2.0 提供者的使用者名稱為空",
"email from oauth2 provider is empty": "來自 OAuth 2.0 提供者的電子郵件為空",
"user name from oauth2 provider is empty, cannot register new user": "來自 OAuth 2.0 提供者的使用者名稱為空,無法註冊新使用者",
"email from oauth2 provider is empty, cannot register new user": "來自 OAuth 2.0 提供者的電子郵件為空,無法註冊新使用者",
"explorer id is invalid": "探索ID無效",
"explorer not found": "探索不存在",
"explorer data is invalid": "探索資料無效",