Derrick Hammer
|
e2db880038
|
fix: temp workaround on race condition
|
2023-08-04 12:53:13 -04:00 |
Derrick Hammer
|
a23d165caa
|
fix(auth): eager load the account relation to return it
|
2023-06-29 07:04:24 -04:00 |
Derrick Hammer
|
637b656d36
|
refactor(auth): move getCurrentUserId to auth package and make public
|
2023-06-29 05:41:26 -04:00 |
Derrick Hammer
|
86380c7b3a
|
fix: wrong algo
|
2023-06-10 01:15:17 -04:00 |
Derrick Hammer
|
9b82fa7828
|
fix: use challengeObj
|
2023-06-10 01:02:31 -04:00 |
Derrick Hammer
|
bf576dfaee
|
fix: change jwtKey to ed25519.PrivateKey
|
2023-06-10 00:54:57 -04:00 |
Derrick Hammer
|
85a02952df
|
feat: generate and/or load an ed25519 private key for jwt token generation
|
2023-06-09 15:36:45 -04:00 |
Derrick Hammer
|
a9d153a22f
|
refactor: modify VerifyLoginToken to return a pointer to the account model
|
2023-06-09 07:37:45 -04:00 |
Derrick Hammer
|
d1d4f6b679
|
refactor: try to decode the token claim for pre-verification
|
2023-06-09 04:29:18 -04:00 |
Derrick Hammer
|
16f2ac3604
|
refactor: verify the token is a valid format, then check the db, then validate, and if it fails, delete from the db
|
2023-06-09 04:26:50 -04:00 |
Derrick Hammer
|
73e1c5a363
|
refactor: move all primary logic to service packages and standardize error objects
|
2023-06-09 04:03:29 -04:00 |