-
Notifications
You must be signed in to change notification settings - Fork 2.8k
accept a new argument claims_namespace_path in JWT config
#4365
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
codingkarthik
merged 38 commits into
hasura:master
from
codingkarthik:jwt-claims-ns-path-4349
Apr 16, 2020
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
bc6c31f
add new optional field `claims_namespace_path` in JWT config
codingkarthik a5cb5db
modify the tests to include the claims_namespace_path
codingkarthik 2e74586
return value when empty array is found in executeJSONPath
codingkarthik 35cb5fe
modify the tests to incorporate claims_namespace_path in JWT
codingkarthik 920e360
Merge remote-tracking branch 'upstream/master' into jwt-claims-ns-pat…
codingkarthik b741282
fix the syntax error in the tests
codingkarthik 0ffeb29
update the docs related to claims_namespace_path
codingkarthik 733ae61
fix the keyword argument syntax in test_jwt.py
codingkarthik ababdd3
set HASURA_GRAPHQL_JWT_SECRET before running the tests
codingkarthik fe19fd7
make a new data type JWTConfigClaims
codingkarthik 1d7b5a1
modify the encodeJSONPath function to be more robust
codingkarthik 4fabbcf
remove unused import from JSONPath.hs
codingkarthik 8bca456
revert back encodeJSONPath to what it was earlier
codingkarthik 90ae3f2
modify the test_api_config test to include the claims_namespace_path
codingkarthik 63a5df6
handle the case when hge_jwt_conf is None
codingkarthik 716caed
Merge remote-tracking branch 'upstream/master' into jwt-claims-ns-pat…
codingkarthik deffb86
Update docs/graphql/manual/auth/authentication/jwt.rst
codingkarthik d8989b1
Update docs/graphql/manual/auth/authentication/jwt.rst
codingkarthik 4e4e367
Update docs/graphql/manual/auth/authentication/jwt.rst
codingkarthik bd3f07d
Update docs/graphql/manual/auth/authentication/jwt.rst
codingkarthik 9a0dca5
omit claims_namespace from /v1alpha1/config if claims_namespace_path …
codingkarthik 6496667
modify the jwt tests and refactor executeJSONPath
codingkarthik d622775
modify the JWTInfo to make claims_namespace as an optional field
codingkarthik e4ba432
refactor the JWT tests
codingkarthik e1b08b3
refactor the FromJSON instance of JWTConfig
codingkarthik c9b84e8
use JWTConfigClaims in the JWTInfo data type
codingkarthik bf8dda0
remove hge-jwt-claims-ns-path from CI claims_namespace_path test
codingkarthik b129fa9
Merge branch 'master' into jwt-claims-ns-path-4349
codingkarthik 30c1cb5
improve encodeJSONPath, add property tests for parseJSONPath
rakeshkky 0dec4f0
throw error if both claims_namespace_path and claims_namespace are set
codingkarthik f81062d
refactor the Data.Parser.JsonPath to Data.Parser.JSONPathSpec
codingkarthik 0fa2a02
update the JWT docs
codingkarthik 736955f
get claims_namespace_path from JWT config only if it's set
codingkarthik 2cb4729
Merge branch 'master' into jwt-claims-ns-path-4349
codingkarthik ba444ff
modify the JWT docs
codingkarthik 179e2be
Merge branch 'master' into jwt-claims-ns-path-4349
codingkarthik 966c6a5
modify the JWT docs
codingkarthik 7123319
Update docs/graphql/manual/auth/authentication/jwt.rst
tirumaraiselvan 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
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.