Derrick Hammer pcfreak30
pcfreak30 pushed to develop at LumeWeb/portal-sdk 2024-03-21 12:44:42 +00:00
8431f5c9f8 fix: typo
a508347fb1 refactor: export AccountError
Compare 2 commits »
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 21:28:28 +00:00
facea33e0e fix: need to pass api name
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 21:14:03 +00:00
be7a7977ac refactor: need to pass api name to SetAuthCookie
ee8fa2b98d refactor: dont pass a domain
ad8de8f5a1 refactor: switch to using MaxAge
9587ef4941 refactor: require an api name to be provided and skip if not matched
Compare 4 commits »
pcfreak30 pushed to develop at LumeWeb/portal-dashboard 2024-03-20 20:22:22 +00:00
bba7ce59d3 refactor: nop on onError
9332598627 refactor: pass ret as a HttpError
6ce3b02dc6 dep: update portal-sdk
81d52d2524 refactor: ret should now satisfy HttpError
64e2216a36 dep: update portal-sdk
Compare 5 commits »
pcfreak30 opened issue LumeWeb/portal-dashboard#15 2024-03-20 20:13:04 +00:00
T3-Env
pcfreak30 commented on issue LumeWeb/portal-dashboard#11 2024-03-20 19:54:01 +00:00
Misc Dashboard Changes

@ditorodev

No, I mean just make a commit to remove so it can be reverted later... and yes, all nets design their data structures in very different ways.

The goal as well is the portal will…

pcfreak30 pushed to develop at LumeWeb/portal-sdk 2024-03-20 19:41:36 +00:00
55fc51ad0a refactor: update more methods to return an error optionally, and switch to a custom Error child class so we can get the status code and message
pcfreak30 pushed to develop at LumeWeb/portal-dashboard 2024-03-20 19:26:29 +00:00
bec75e63ee refactor: fix handling of check by creating a handleCheckResponse wrapper to translate success to authenticated
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:56:23 +00:00
4a3028f61a fix: cookies sent to us don't include the expiry time, so we need to parse from thr jwt echo it.
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:44:31 +00:00
da19a2e287 fix: use StatusUnauthorized
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:41:58 +00:00
52a1f18c60 fix: if claim is empty and ExpiredAllowed on, abort early and pass through
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:34:53 +00:00
7df6bb245b fix: return in wrong spot
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:30:05 +00:00
cfce7348d4 fix: move error conditional outside if
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:28:50 +00:00
053a55c1f3 fix: invert check
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:27:07 +00:00
6c0ae8c0e6 refactor: if unauthorized is true, audList may be nil, and we may have to manually parse out the aud unverified to test
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:14:04 +00:00
9e170bae0d fix: capture aud in JWTVerifyToken
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:11:24 +00:00
7616d9f7c9 refactor: set ExpiredAllowed on loginAuthMw2fa
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 18:09:47 +00:00
2528fd0afe refactor: add optionExpiredAllowed to AuthMiddlewareOptions, add jwtPurposeEqual helper, don't error if expired with ExpiredAllowed and the purposes are different
bee80a9981 Revert "refactor: if the token doesn't match our purpose only error if EmptyAllowed is off"
Compare 2 commits »
pcfreak30 pushed to develop at LumeWeb/portal 2024-03-20 17:52:30 +00:00
b1fcc7f7ae refactor: if the token doesn't match our purpose only error if EmptyAllowed is off
pcfreak30 pushed to develop at LumeWeb/portal-dashboard 2024-03-20 17:45:34 +00:00
b3f0044723 refactor: use handleResponse on login