-
Notifications
You must be signed in to change notification settings - Fork 329
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
Jw/changing how jwt is passed around #1130
Merged
LucioFranco
merged 31 commits into
tursodatabase:main
from
Shopify:jw/changing-how-jwt-is-passed-around
Mar 15, 2024
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
49f044f
wip - passing userauthcontext instead of http headers
5fece60
merged main
946c9ea
revert comment out
shopifyski ecf2389
fixed temp change
shopifyski 9521d72
Merge branch 'main' into jw/changing-how-jwt-is-passed-around
shopifyski 83e91ff
fixed failing tests
shopifyski b8bb476
next iteration of unit test fixing
shopifyski e322b1a
fixed remaining unit tests
shopifyski 6b517ea
reverted debug
shopifyski e3bd67c
removed accidentally added file
shopifyski 8f6b127
Merge branch 'main' into jw/changing-how-jwt-is-passed-around
shopifyski f038f39
moved str to userauthcontext conversion to from trait
shopifyski 9bc376b
remove vague comment
shopifyski 37c130f
cargo fmt
shopifyski b350ce5
cleaned up mod reimportss
shopifyski d3ccabc
refactored cryptic matching in replica_proxy
shopifyski 9b353cd
marked potentially duplicate code with // todo dupe #auth
shopifyski e30d5a3
refactored context to custome errors
shopifyski cadf427
added a factory to produce empty UserAuthContext
shopifyski 5077466
added constructors for UserAuthContext
shopifyski 071dcf3
switched from try_into to using constructors
shopifyski 9f94e4e
cargo fmt
shopifyski 284b36f
added tests for failing cases in parsers
shopifyski f716a28
cargo fmt
shopifyski 843c9f7
added test for non-asci error
shopifyski 4125383
fixed log message
shopifyski 37dc162
merged main
shopifyski 3105025
removed unnecessary error mapping
shopifyski bccfe77
turned context to result
shopifyski 37dc3af
removing dummy tokens from tests
shopifyski 57861f6
cargo fmt + cleanup
shopifyski 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 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 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw if the input type is the same as the closure this works as well!