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
f0cb65f65c
dont import db in nextjs
2025-06-05 14:44:34 -04:00
miloschwartz
2cca561e51
support postgresql as database option
2025-06-04 12:02:07 -04:00
miloschwartz
8fa719181a
show list of idp on login
2025-04-18 21:59:58 -04:00
miloschwartz
0e65f8c921
check resource id on verify access token
2025-04-06 13:08:55 -04:00
miloschwartz
74d6b3d902
shorten share links and add migration
2025-04-04 22:58:01 -04:00
Milo Schwartz
9f1f2910e4
refactor auth to work cross domain and with http resources closes #100
2025-01-26 14:42:02 -05:00
Milo Schwartz
f5fda5d8ea
allow access token in resource url
2025-01-11 19:47:07 -05:00
Milo Schwartz
c3d19454f7
allow resource redirect if host is same
2025-01-10 00:13:51 -05:00
Milo Schwartz
6c813186b8
verify redirects are safe before redirecting
2025-01-09 23:26:07 -05:00
Milo Schwartz
64158a823b
major ui tweaks and refactoring
2025-01-04 20:22:01 -05:00
Milo Schwartz
3b4a993704
refactor and reorganize
2025-01-01 21:41:31 -05:00
Milo Schwartz
9732098799
make config class and separate migrations script
2025-01-01 17:50:12 -05:00
Milo Schwartz
ce5df3b0b9
fix issues from test deploy
2024-12-21 21:01:12 -05:00
Milo Schwartz
845d65ad33
share links
2024-12-20 22:24:44 -05:00
Milo Schwartz
72dc02ff2e
access token endpoints and other backend support
2024-12-18 23:14:26 -05:00
Milo Schwartz
207a7b8a39
add resource whitelist auth method
2024-12-16 22:40:42 -05:00
Milo Schwartz
500a81aa42
fix rendering issues on resource unauthorized
2024-11-29 22:53:45 -05:00
Milo Schwartz
c2cbd7e1a1
fix minor auth issues and set NODE_ENV to solve react email bug
2024-11-27 14:35:38 -05:00
Milo Schwartz
8178dd1525
set resource session as base domain cookie
2024-11-27 00:07:40 -05:00
Milo Schwartz
cc05baf67d
move resource auth to auth router
2024-11-24 11:27:43 -05:00
Milo Schwartz
4be535c08d
fix tabs rendering verticaly bug
2024-11-24 00:12:38 -05:00
Milo Schwartz
d7c4bc43a4
set resource session cookie in proxy via param
2024-11-23 23:31:22 -05:00
Milo Schwartz
ad5ea3564b
added support for pin code auth
2024-11-23 20:08:56 -05:00