Commit graph

17 commits

Author SHA1 Message Date
Max Ma
da11dc8a87
NET-1134:move oauth from CE build block to pro (#2919)
* move oauth from CE build block to pro

* move oauth code and api handler under pro

* move common func back to auth from pro/auth

* change log level to Info for information logs

* fix import issue
2024-05-08 12:44:39 +05:30
Abhishek K
33846a5124
NET-1061: check if user exists, handle oauth not configured for host SSO (#2917)
* add debug logs

* check if user exists, handle oauth not configured for host SSO

* check if user exists, handle oauth not configured for host SSO

* check if user exists, handle oauth not configured for host SSO

* quit when websocket is closed

* quit when websocket is closed

* quit when websocket is closed

* avoid sending msg onb closed channel

* add debug log

* exit when oauth state is deleted

* add debug log

* handle oauth state not valid with appropirate message

* handle oauth state not valid with appropirate message

* check for invalid oauth state

* rm debug logs
2024-05-08 12:11:37 +05:30
Aceix
4a8ce7b6fa
fix(NET-1155): sso login changes (#2905)
* fix(NET-1155): prompt for user account on each sso login

* fix(NET-1152): correct pending user response from rac
2024-04-30 09:57:48 +05:30
Abhishek K
b7c8b738d7
NET-1064: Improved Oauth SignUp message prompts (#2875)
* add pending users api

* insert user to pending users on first time oauth login

* add pending user check on headless login

* fix conflicting apis

* no records error

* add allowed emails domains for oauth singup to config

* check if user is allowed to signup

* improve oauth message prompts

* handle trial enddate  error logs
2024-04-03 23:59:44 +05:30
Abhishek K
0d4552db5e
NET-1064: Oauth User SignUp Approval Flow (#2874)
* add pending users api

* insert user to pending users on first time oauth login

* add pending user check on headless login

* fix conflicting apis

* no records error

* add allowed emails domains for oauth singup to config

* check if user is allowed to signup
2024-04-03 11:20:19 +05:30
abhishek9686
d70d33f1c3 patch: fix azure-ad,github callback 2024-03-14 09:12:13 +07:00
Abhishek K
b69bf60160
NET-811: block normal user login from accessing dashboard (#2724)
* block normal user login from accessing dashboard

* header change

* allow from ui header

* allow from ui header

* check for user role after decoding

* block oauth login for normal user

* handle other oauth provider callback funcs for user login
2023-12-20 09:08:55 +04:00
Anish Mukherjee
66efcf9eb3 move oauth error handler to auth package 2022-12-23 18:28:45 +05:30
Anish Mukherjee
1a442aa299 remove need of frontend url for error pages 2022-12-23 17:46:45 +05:30
0xdcarns
88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
0xdcarns
de91533372 added better state management to make OAuth sign-ins HA 2022-08-04 10:03:39 -04:00
0xdcarns
ed0f992142 changed context from deprecated no context 2022-05-27 09:21:14 -04:00
0xdcarns
43b9e73eaa updated ioutil refs and composes 2022-01-06 15:05:38 -05:00
afeiszli
932712619a remade server logs 2021-12-06 15:31:08 -05:00
0xdcarns
64d293a2b9 changed small bug with routes 2021-11-14 09:25:31 -05:00
0xdcarns
f39e16fbc9 added azure sign in 2021-10-22 15:07:45 -04:00
0xdcarns
36d60eba64 github auth added 2021-10-22 13:12:03 -04:00