Commit graph

21 commits

Author SHA1 Message Date
Anish Mukherjee
289bb3e5ec add headless sso login 2023-01-02 13:18:40 +05:30
walkerwmanuel
71d66b7f93 Refactored user functions to use refrences rather than values 2022-12-20 15:10:40 -05:00
kayos@tcp.direct
e878e4820a
Fixes+Chores: avoid de-referencing nil ptrs + lint
- Avoid referencing conditions we know are false/true

 - Avoid using name of imported package as variable

 - Avoid broken (see list item 1) if else statement in `ipservice.go` by refactoring to switch statement

 - When assigning a pointer value to a variable along with an error, check that error before referencing that pointer. Thus avoiding de-referencing a nil and causing a panic.
  *** This item is the most important ***

 - Standard gofmt package sorting + linting; This includes fixing comment starts for go doc

 - Explicit non-handling of unhandled errors where appropriate (assigning errs to _ to reduce linter screaming)

 - Export ErrExpired in `netcache` package so that we can properly reference it using `errors.Is` instead of using `strings.Contains` against an `error.Error()` value
2022-12-06 20:11:20 -08:00
0xdcarns
88cd0a6497 initial commit 2022-09-13 15:25:56 -04:00
cameronts
661290c84d Update swagger docs 2022-09-10 21:51:59 -07:00
cameronts
cb23b871dd Added swagger for API docs. 2022-09-06 05:20:24 -07:00
0xdcarns
d2f00e0dc5 remove comment 2022-08-04 10:04:51 -04:00
0xdcarns
de91533372 added better state management to make OAuth sign-ins HA 2022-08-04 10:03:39 -04:00
capric98
2fa31a6947 add oidc provider for auth 2022-06-25 23:47:00 +08: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
a51d145e5e modified log 2021-10-28 11:09:49 -04:00
0xdcarns
c402010659 changed oauth to use SERVER_HTTP_HOST or SERVER_HOST vars 2021-10-28 11:05:35 -04:00
0xdcarns
d1f02d0911 added check for http,https redirect 2021-10-28 10:54:16 -04:00
0xdcarns
5322c44a99 fixed minor bug surrounding oauth error 2021-10-28 10:20:37 -04: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
0xdcarns
9c5703e28c google oauth implmented 2021-10-22 09:47:29 -04:00
0xdcarns
7939e5968f good first draft, fixed test 2021-10-21 20:32:23 -04:00
0xdcarns
4e4e8b3ab5 began oauth implementation 2021-10-21 15:28:58 -04:00
0xdcarns
8a54f50676 initialized 2021-10-20 14:17:31 -04:00