Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AuthKit solution to use new session helpers #155

Merged
merged 30 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
52d00d4
run: p i @workos-inc/node@latest # resolved v7.19
chantastic Jul 30, 2024
33671da
update /callback url to utilize workos-provide sealedSession
chantastic Jul 30, 2024
100b12c
rework /dashboard page to use WorkOS decryption tools
chantastic Jul 30, 2024
6431370
refactor middleware to utilize new WorkOS sealedSessions
chantastic Jul 30, 2024
dfcf853
add sign-out route that deletes cookie and closes session
chantastic Jul 31, 2024
63fec9e
utilize authenticaetWithCode wrapper funciton
chantastic Jul 31, 2024
8b1b890
Revert "utilize authenticaetWithCode wrapper funciton"
chantastic Jul 31, 2024
97f3dc1
fix isse where 'no code error' doesn't proc
chantastic Jul 31, 2024
82a1643
extract authenticateWithCode wrapper
chantastic Jul 31, 2024
42f300b
fix? does directly accessing variables work?
chantastic Jul 31, 2024
cf146ff
fix? move initialization into function body
chantastic Jul 31, 2024
112f075
show resolved redirect URI
chantastic Jul 31, 2024
4dc5f77
extract getAuthorizationUrl
chantastic Jul 31, 2024
1ff0d48
extract getLogoutUrlFromSessionCookie helper
chantastic Jul 31, 2024
f984027
fixup! extract getLogoutUrlFromSessionCookie helper
chantastic Jul 31, 2024
8d706be
fixup! extract getLogoutUrlFromSessionCookie helper
chantastic Jul 31, 2024
523a2b3
is that what it comes to?
chantastic Jul 31, 2024
1804325
fixup! is that what it comes to?
chantastic Jul 31, 2024
639f629
oops. wasn't using the right url where it mattered. use aliases
chantastic Jul 31, 2024
2c92b9c
extract refreshAndSealSessionData and make WORKOS_ keys private
chantastic Jul 31, 2024
307c8a0
live debug: ensure correctly formed auth url
chantastic Aug 1, 2024
9eab4c9
did Claude get it right?
chantastic Aug 1, 2024
e6e756d
add best food in maui
chantastic Aug 16, 2024
5ca1489
add /inspect route with getAuthorizationUrl result
chantastic Aug 19, 2024
2d3b274
display CF_PAGES_URL dynamic value
chantastic Aug 19, 2024
a5a4caa
add env to /inspect page
chantastic Aug 19, 2024
0ab2261
write REDIRECT_URI at execution time, not load time
chantastic Aug 19, 2024
0c9f16d
remove all early evaluations of env vars
chantastic Aug 19, 2024
761444f
omg. this feature is driving me nuts
chantastic Aug 19, 2024
399289f
update auth to use preferred practices
chantastic Aug 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chan.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@astrojs/react": "^3.6.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@workos-inc/node": "^6.8.0",
"@workos-inc/node": "^7.19.0",
"iron-session": "^8.0.2",
"jose": "^5.6.3",
"minimatch": "^10.0.1",
Expand Down
Loading
Loading