-
Notifications
You must be signed in to change notification settings - Fork 42
feat: Introduce header based auth along with existing cookie based auth #262
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
32 commits
Select commit
Hold shift + click to select a range
a25373a
feat: Introduce header based auth along with existing cookie based auth
KShivendu ef4b24e
fix: Pass partial functions to session object for modifying response …
KShivendu 9d8aa9e
fix: Remove repeated headers in flask auth and refactor logic
KShivendu 50a6448
fix: Fix lint errors and refactor logic
KShivendu 6826ff1
refactor: Improve variables names and code quality
KShivendu 13a3da7
Improve header based auth logic
KShivendu bb46a5e
fix: Type errors in tests because of signature updates
KShivendu f7af9d8
refactor: Minor changes in session recipe suggested in feedback
KShivendu f1657ff
refactor: Use response mutators everywhere instead of new tokens info
KShivendu cfa29ac
refactor: Minor changes in header based auth logic
KShivendu 8cde45b
fix: Fix mistake in create_new_session that failed tests
KShivendu 8f8c496
test: Use cookie as token transfer method for existing tests
KShivendu 0b06480
refactor: Changes for header based auth
KShivendu 87cb08d
test: Fix failing tests because of IdRefreshToken and get_token_trans…
KShivendu 107ea0e
test: Remove IdRefreshToken from all the tests
KShivendu 33e3362
fix: Missing use of unquote func for parsing cookie value
KShivendu 63f0b63
test: Fix test failures and add more tests in test_auth_mode
KShivendu 3352bdc
tests: Fix and add new auth mode tests
KShivendu 8581d84
test: Fix failing tests for revoke session during refresh
KShivendu 185c950
refactor: Strongly type response mutators
KShivendu 5048d89
refactor: Improve response mutators usage in handle_error
KShivendu b4809f2
refactor: Fix cyclic import error
KShivendu 7bbcb53
Merge branch '0.11' into feat/header-based-auth
KShivendu ed905b8
Merge branch '0.11' into feat/header-based-auth
KShivendu 1f161ef
fix: Clear session changes for edge cases
KShivendu fa22498
chores: Update changelog to mention header based auth changes
KShivendu 11fca6d
test: Fix issues with tests
KShivendu 168450c
chores: Run formatter
KShivendu 6f1262f
test: Restore get_st_init_args func params
KShivendu e7f89c0
test: Fix failing tests and use url decode for token cookies
KShivendu 92a1104
chores: Bump version to 0.12.0 with other relevant changes
KShivendu 4f2cccc
Merge pull request #275 from supertokens/fix/clear-sesion
porcellus 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"_comment": "contains a list of frontend-driver interfaces branch names that this core supports", | ||
"versions": [ | ||
"1.15" | ||
"1.16" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ | |
|
||
setup( | ||
name="supertokens_python", | ||
version="0.11.13", | ||
version="0.12.0", | ||
author="SuperTokens", | ||
license="Apache 2.0", | ||
author_email="[email protected]", | ||
|
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
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.
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.