Commit graph

4 commits

Author SHA1 Message Date
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
9to1url
1e77a9eca4 remove new line to fix warning: fmt.Fprintln arg list ends with redundant newline 2022-04-09 16:00:49 -04:00
0xdcarns
5322c44a99 fixed minor bug surrounding oauth error 2021-10-28 10:20:37 -04:00