Commit Graph

140 Commits

Author SHA1 Message Date
Owen f2c31d3ca6 Add actor data to request 2025-10-22 14:27:21 -07:00
Owen f748c5dbe4 Basic request log working 2025-10-22 12:23:48 -07:00
Owen fdd4d5244f Temp dont ignore org 2025-10-22 10:59:35 -07:00
Owen 654145be84 Clean up imports and ordering 2025-10-21 21:58:09 -07:00
Owen 3662d42374 Add resource id and cc 2025-10-21 21:42:53 -07:00
Owen d392fb371e Add logging for all auth 2025-10-21 21:22:56 -07:00
Owen c0039190bd Fix frontend type imports 2025-10-14 11:28:56 -07:00
Owen 377cb77307 Returning unauthorized 2025-10-13 15:34:26 -07:00
Owen 48af91c976 Return unauthorized if header auth is the only one 2025-10-13 15:20:53 -07:00
Owen 38faf1f905 Add header auth so it does not allow passing 2025-10-13 14:59:54 -07:00
Owen c7a40d59b7 Seperate managed node code to fosrl/pangolin-node 2025-10-12 16:34:36 -07:00
Owen d92b87b7c8 Chungus 2.0 2025-10-10 11:27:15 -07:00
Owen 850e9a734a Adding HTTP Header Authentication 2025-10-06 10:14:02 -07:00
Owen c2c907852d Chungus 2025-10-04 18:36:44 -07:00
miloschwartz 8851156f23 use resource guid in url closes #1517 2025-09-28 16:22:26 -07:00
Owen c02ac8d1bf Seperate out function 2025-08-26 17:19:04 -07:00
Owen a1802add19 Geoblocking works 2025-08-26 17:14:55 -07:00
Owen 78d3861382 Add pass rule 2025-08-24 22:20:09 -07:00
Owen 72f19274cd Add ip lookup 2025-08-24 21:58:52 -07:00
Owen 32ba17cf91 Fix linter errors 2025-08-23 15:26:43 -07:00
Owen 60d8831399 Rename hybrid to managed 2025-08-21 14:19:21 -07:00
Owen 77796e8a75 Adjust again for uncertian config 2025-08-20 17:48:55 -07:00
Owen 825bff5d60 Badger & traefik working now? 2025-08-14 21:48:14 -07:00
Owen 22545cac8b Basic verify session breakout 2025-08-12 13:40:59 -07:00
T Aviss 481714f095 Fix for issues with binding ports other than 80/443
server/routers/badger/verifySession.ts : verifyResourceSession() updated code behind "cleanHost" var to a regex which strips the trailing :port for any port (rather than a string match for 80/443)
src/app/auth/resource/[resourceId]/page.tsx : ResourceAuthPage() added a secondary match for serverResourceHost and redirectHost that accounts for ports
server/routers/badger/exchangeSession.ts : Updated exchangeSession() to use the same "cleanHost" type var (with port-stripping) as in verifyResourceSession(), replaced references to "host" with "cleanHost"
2025-07-30 22:16:46 -07:00
miloschwartz 717dfae26c look for ipv6 in brackets and fix cors headers in install config 2025-06-04 15:56:16 -04:00
Milo Schwartz 6fc6f325a7 Merge pull request #807 from pyrho/feat/auth-header
send user data to badger when authenticated
2025-06-04 12:17:23 -04:00
miloschwartz 2cca561e51 support postgresql as database option 2025-06-04 12:02:07 -04:00
Damien Rajon c5e37c1608 send user data to badger when authenticated 2025-05-30 20:37:21 +02:00
miloschwartz caded23b51 allow root path 2025-05-09 17:37:55 -04:00
miloschwartz 0e65f8c921 check resource id on verify access token 2025-04-06 13:08:55 -04:00
miloschwartz 6cc4bc2645 add pass access token in headers 2025-04-05 22:36:51 -04:00
miloschwartz fefb07e14c move schema.ts to module 2025-03-23 17:11:48 -04:00
miloschwartz f2a14e6a36 append timestamp to cookie name to prevent redirect loops 2025-03-21 21:38:36 -04:00
Owen 33ff2fbf3b Allow matching parts of words in path
Resolves #228
2025-03-08 11:43:47 -05:00
Owen 535b4e1fb1 Add clean up our few tests and add tests for #228 2025-03-08 11:43:22 -05:00
miloschwartz adef93623d more visual enhancements and use expires instead of max age in cookies 2025-03-02 15:50:03 -05:00
miloschwartz e82df67063 Merge branch 'dev' into multi-domain 2025-02-26 21:26:20 -05:00
miloschwartz e4789c6b08 always check rules even if auth is disabled 2025-02-24 22:52:38 -05:00
Owen 7bf820a4bf Clean off ports for 80 and 443 hosts 2025-02-15 17:48:27 -05:00
Milo Schwartz fdf1dfdeba rules server validation, enabled toggle, fix wildcard 2025-02-11 23:59:13 -05:00
Owen 3c99fbb1ef Seperate ip and cidr 2025-02-10 21:06:37 -05:00
Owen 4bce210ff5 Be more lenient with leading and trailing slashes 2025-02-09 22:03:18 -05:00
Owen bbc1a9eac4 Format 2025-02-09 22:00:02 -05:00
Owen 5e92aebd20 Drop first 2025-02-09 21:56:39 -05:00
Owen 34e3fe690d Fix check on string 2025-02-09 11:33:40 -05:00
Owen 874c67345e Adjust rule processing 2025-02-09 10:50:43 -05:00
Owen 42434ca832 Add validation 2025-02-08 17:54:01 -05:00
Owen da3c8823f8 rename to resource rules and add api endpoints 2025-02-08 17:07:21 -05:00
Owen 2f49be69fe Initial pass at rules 2025-02-06 21:42:18 -05:00