Commit Graph
34 Commits
Author SHA1 Message Date
fa03d2b616 fix(account): handle single-word names in OIDC and GitHub auth providers (#10631) (#10656)
When a user's name has no spaces (common for CJK names like "西门吹雪"),
name.split(' ') returns a single-element array so the last name
destructures as undefined, causing a PostgreSQL NOT NULL constraint
violation on the last_name column.

- openid: prefer standard OIDC given_name/family_name claims when
  available, fall back to splitting name with safe slice(1).join()
- github: same split fix using displayName ?? username
- loginOrSignUpWithProvider: add ?? '' defensive fallback at insertOne
  to guard against any undefined last name reaching the DB

Fixes #10628

Signed-off-by: SaiVaraprasad Medapati <varaprasadreddy9676@gmail.com>
Co-authored-by: SaiVaraprasad Medapati <varaprasadreddy9676@gmail.com>
2026-03-19 16:51:34 +07:00
Andrey SobolevandGitHub aa7829bb93 Update deps oct 11 (#10069)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-10-12 08:55:50 +07:00
Alexey ZinovievandGitHub d34cd599a3 Qfix GitHub auth (#9239)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2025-06-15 21:17:27 +07:00
Alexander OnnikovandGitHub a34bf5e620 Revert "uberf-9797: idp auth state (#9196)" (#9236)
This reverts commit 95b7fccca2.

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
2025-06-15 15:45:13 +07:00
Alexey ZinovievandGitHub 95b7fccca2 uberf-9797: idp auth state (#9196) 2025-06-10 08:56:14 +07:00
NicoandGitHub 8b6b106229 Add {PROVIDER}_DISPLAY_NAME env-var (#8967)
Signed-off-by: nicolasschneider <nicschnei@icloud.com>
2025-05-26 18:46:44 +04:00
Alexey ZinovievandGitHub 690dd788e9 Qfix idp signup (#8455)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2025-04-03 18:29:01 +05:00
Alexey ZinovievandGitHub d3ed7eb79a uberf-9713: fix auto join condition (#8404)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2025-03-31 17:08:08 +07:00
Alexey ZinovievandGitHub c6326b3c73 UBERF-9636: Meeting links - more cases (#8369)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2025-03-28 01:05:53 +07:00
Andrey SobolevandAndrey Sobolev 7ff824a058 Fix keep alive consistency for account + front (#8198)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-03-11 21:23:07 +07:00
Alexey ZinovievandGitHub 2c64ceadb8 UBERF-8425: Global accounts (#7573) 2025-02-04 10:31:03 +07:00
Alexey ZinovievandGitHub d132d6a679 UBERF-9236: Fetch GH usernames (#7766)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2025-01-22 19:29:43 +04:00
Alexey ZinovievandGitHub e9098372af UBERF-8500: Improve OIDC init logging (#6981)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-10-18 20:20:16 +07:00
Alexey ZinovievandGitHub 6b112fc1be UBERF-8429: Allow to disable sign-ups (#6934)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-10-15 14:03:55 +04:00
Alexey ZinovievandGitHub e64b1aaf62 UBERF-8169: Account on postgres (#6745)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-10-01 13:44:49 +07:00
Alexey ZinovievandGitHub 9a35f013ad uberf-8195: support openid auth (#6654)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-09-20 21:59:23 +07:00
Alexey ZinovievandGitHub db94cab1e0 UBERF-7684: Workspace service (#6460)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-09-02 23:12:04 +07:00
Alexey ZinovievandGitHub 4d5d229364 uberf-7927: get rid of product id (#6375) 2024-08-22 21:10:59 +07:00
Alexey ZinovievandGitHub d2b2cbf984 UBERF-7753: Change auth approach for providers (#6234)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-08-06 11:50:55 +05:00
Alexander OnnikovandGitHub b6af63fcb0 Move onboard into separate app (#6191)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
2024-07-31 15:14:21 +07:00
KristinaandGitHub 8ec7c0ba89 Add login and signup by code (#6097)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
2024-07-30 14:12:18 +07:00
Denis BykhovandGitHub a27075b29e Fix oAuth (#5885)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-06-21 12:38:14 +07:00
Alexey ZinovievandGitHub adb286676e uberf-7350: add more oauth logs (#5879) 2024-06-21 09:13:31 +07:00
Alexey ZinovievandGitHub dedff23b31 EZQMS-951: Server branding (#5858)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-06-20 18:13:57 +05:00
Denis BykhovandGitHub 279b04f5b2 Extra logs for auth providers (#5840)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-06-18 12:15:08 +07:00
Denis BykhovandGitHub 4a229eb671 Fix github oauth (#5729)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-06-04 23:42:29 +07:00
Alexey ZinovievandGitHub 2d163bf428 UBERF-6984: Host-based branding (#5657)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
2024-05-28 21:14:45 +07:00
Andrey SobolevandGitHub 1d95c39d62 UBERF-6712: Rework connection logic (#5455)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-04-25 20:15:11 +05:00
Andrey SobolevandGitHub 1664419b7b UBERF-6310: Fix context passing (#5167)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-04-03 19:52:38 +05:00
Andrey SobolevandGitHub 5716c053fd UBERF-6180: Fix account issues (#5063)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-03-26 20:07:58 +05:00
Denis BykhovandGitHub d5eb02c926 oAuth fix (#4860) 2024-03-02 16:44:42 +07:00
Denis BykhovandGitHub c9be34aaa3 Save github id (#4856)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-03-02 12:20:33 +06:00
Denis BykhovandGitHub 70361d12d8 Fix oauth session (#4840)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-03-01 13:16:32 +07:00
Denis BykhovandGitHub 42ded3093d UBERF-5722 (#4800)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-02-28 14:17:02 +06:00