Repository navigation
fix: stop leaking secrets through logs and session storage #206
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
7e539fb
fix: stop leaking secrets through logs and session storage
KomanRudden 445f44c
fix(auth): require OAuth callback state and validate ID token nonce
KomanRudden ad0c2ee
test: disable GC around SmartOAuth timing loops
KomanRudden 3fe1664
fix(auth): keep configured client secret and strip legacy secrets fro…
KomanRudden 2a2c7aa
Merge branch 'fix/stop-leaking-secrets' into fix/oauth-callback-state…
KomanRudden 514f840
fix(auth): always validate the ID token nonce; return 400 from the Fa…
KomanRudden c8a01f5
Merge pull request #209 from kinde-oss/fix/oauth-callback-state-nonce
Koosha-Owji 70b2cb8
fix(auth): stop leaking token errors and keep sessions across workers
KomanRudden ddab53f
fix(auth): only call the Account API over HTTPS
KomanRudden 6bf860b
test: cover the remaining lines changed in this PR
KomanRudden 222b6a9
fix(storage): log a failed device ID write instead of ignoring it
KomanRudden f724922
fix(auth): only use the token issuer as Account API host when it matc…
KomanRudden 0564311
fix(fastapi): return 500, not 400, for unexpected callback errors
KomanRudden e1c1b73
fix(flask): return 500, not 400, for unexpected callback errors
KomanRudden d7d64c7
fix(auth): check the ID token issuer, audience and expiry; clean old …
KomanRudden 100274d
fix: log out before clearing the session; redact legacy helper errors
KomanRudden ee69be8
test: refuse an Account API host with an invalid port
KomanRudden 4e1ceb7
fix(auth): keep a client secret passed to set_user_data() in memory
KomanRudden b515150
test: check that logout revokes the access token
KomanRudden 9619f94
fix(auth): keep a client secret passed to set_user_data() on that ses…
KomanRudden 07a60c8
chore: ignore local env files, .DS_Store, Wrangler state and workspaces
KomanRudden 9307506
fix(auth): sign out even if SDK logout fails; fail generation when a …
KomanRudden 59b83fb
fix(auth): sign out locally when the logout URL can't be built; tight…
KomanRudden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.