Commit graph

338 commits

Author SHA1 Message Date
Owen Schwartz
364b2c26c3
Add role aware updates & endpoints 2024-10-12 21:36:30 -04:00
Milo Schwartz
41cbde1474
pass user object to user context 2024-10-12 21:30:35 -04:00
Milo Schwartz
61fca6a1f6
set public next env vars from config 2024-10-12 21:23:12 -04:00
Milo Schwartz
cf1de2253b
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-12 18:22:20 -04:00
Milo Schwartz
d9ae322e2a
use config file instead of env 2024-10-12 18:21:31 -04:00
Owen Schwartz
33990da68c
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-10 22:00:32 -04:00
Owen Schwartz
4fc630cf42
Ensure the user's actions 2024-10-10 21:59:30 -04:00
Milo Schwartz
6fb569e2cd
check for stale users on signup 2024-10-07 23:31:23 -04:00
Owen Schwartz
143a3b756e
Its working! 2024-10-06 22:09:30 -04:00
Owen Schwartz
d144704066
Fix login stuff? 2024-10-06 18:43:20 -04:00
Owen Schwartz
06eb1544f4
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-06 18:12:38 -04:00
Owen Schwartz
98ba10cb50
Add ensureActions 2024-10-06 18:12:27 -04:00
Milo Schwartz
3e2085fbb3
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-06 18:09:12 -04:00
Milo Schwartz
87c4fc798f
add login portal and traefik middleware auth for testing redirect login 2024-10-06 18:08:26 -04:00
Owen Schwartz
8213036729
Format files and fix http response 2024-10-06 18:05:20 -04:00
Owen Schwartz
797f72e1d0
Add bruno 2024-10-06 17:42:28 -04:00
Owen Schwartz
81017139c5
Add actions check to all endpoints 2024-10-06 16:43:59 -04:00
Owen Schwartz
20db6d450c
Update to verify middleware & lists agenst new permissions tables 2024-10-06 16:19:04 -04:00
Milo Schwartz
0838679120
automatically set the base url 2024-10-06 14:09:26 -04:00
Milo Schwartz
29777da430
added axios client 2024-10-06 12:39:05 -04:00
Milo Schwartz
3c69acaab7
disable helmet and add esbuild 2024-10-06 11:13:50 -04:00
Milo Schwartz
282203d9f2
add shad 2024-10-06 09:55:45 -04:00
Owen Schwartz
86e66f4236
Add new auth tables 2024-10-05 22:45:47 -04:00
Milo Schwartz
d9022c5377
move auth utils 2024-10-05 22:31:30 -04:00
Owen Schwartz
2312cdeea7
Add names 2024-10-05 18:05:41 -04:00
Milo Schwartz
7d66a6ff66
added reset password workflow 2024-10-05 17:01:49 -04:00
Milo Schwartz
838047bb4c
rename 2fa routes 2024-10-05 15:48:19 -04:00
Milo Schwartz
863f94c8db
check and verify 2fa backup code 2024-10-05 15:45:01 -04:00
Milo Schwartz
4a5e0e1c57
generate 2fa backup codes 2024-10-05 15:31:28 -04:00
Milo Schwartz
e7080c4aa8
added change password endpoint 2024-10-05 15:11:51 -04:00
Milo Schwartz
86fb43d570
require 2fa for disable 2fa 2024-10-05 14:00:55 -04:00
Milo Schwartz
76eeb335a3
verify email workflow working 2024-10-04 23:14:40 -04:00
Milo Schwartz
e176295593
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-04 21:16:07 -04:00
Milo Schwartz
35c6e465e2
add no reply var 2024-10-04 21:16:01 -04:00
Owen Schwartz
a8f944fc78
Add verify middleware 2024-10-03 22:31:20 -04:00
Milo Schwartz
e89ee4042a
add rate limit and app name to env 2024-10-03 21:01:19 -04:00
Milo Schwartz
57ebc0e525
setup react email and nodemailer 2024-10-03 20:55:54 -04:00
Milo Schwartz
c9d98a8e8c
added smpt vars to environment 2024-10-02 23:57:55 -04:00
Milo Schwartz
942dbd8e56
added auth middleware 2024-10-02 23:54:14 -04:00
Milo Schwartz
7dbf4307e7
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-02 23:39:14 -04:00
Milo Schwartz
f88cb71e62
disable 2fa endpoint 2024-10-02 23:39:07 -04:00
Owen Schwartz
bbc06245fa
Tested list endpoints 2024-10-02 22:17:43 -04:00
Owen Schwartz
afe3d0659c
Move nessicary info to url params 2024-10-02 22:05:35 -04:00
Milo Schwartz
5dd860ef1c
Merge branch 'main' of https://github.com/fosrl/pangolin 2024-10-02 21:56:03 -04:00
Milo Schwartz
637007e060
finished totp endpoints 2024-10-02 21:55:49 -04:00
Owen Schwartz
0574cd1b4f
Add list endpoints to routers 2024-10-02 21:22:17 -04:00
Owen Schwartz
ecdf2dfd04
Fix return response and add list 2024-10-02 21:17:38 -04:00
Milo Schwartz
e85c94d21d
verifyTotp endpoint 2024-10-02 20:49:05 -04:00
Milo Schwartz
44e020784b
added utils for unauth, verify, and response 2024-10-02 20:42:50 -04:00
Milo Schwartz
d1e198fe55
added two factor to login endpoint 2024-10-02 20:19:48 -04:00