-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: jwks caching with ActiveSupport #111
Merged
vanessa-passage
merged 47 commits into
main
from
PSG-5093-milestone-7-passage-ruby-remove-jwk-re-fetch-logic-use-jwks-caching-lib
Dec 6, 2024
Merged
Changes from 43 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
7399cd7
Configure prettier
vanessa-passage fac04f4
fix: auth and client formatting errors
vanessa-passage 915ff72
Merge remote-tracking branch 'origin/main' into PSG-5198-milestone-7-…
vanessa-passage 6a7d2b3
style: Fix rubocop linting
vanessa-passage 7016f9c
style: autocorrected rubocop files
vanessa-passage 973da06
style: change rubocop formatting rules
vanessa-passage 2aad05e
style: fix formatting errors
vanessa-passage 406f775
style: class vars
vanessa-passage 47df706
style: remove trailing whitespace
vanessa-passage 3d42c55
Fix auto formatting errors
vanessa-passage bc7046b
chore: deprecate validate_jwt. Move to auth class
vanessa-passage ad995e0
style: remove added rules
vanessa-passage f14afe8
feat: moves methods revoke_device and create_magic_link
vanessa-passage 0a197b5
auth tests
vanessa-passage 74b31d4
Merge main
vanessa-passage ccbbe38
Fix tests merge comflicts
vanessa-passage 15bfe80
Update tests
vanessa-passage 2b3545d
Fix linting error
vanessa-passage 878f6cf
Fix linting errors
vanessa-passage adea5c1
Merge remote-tracking branch 'origin/main' into PSG-5153-milestone-7-…
vanessa-passage 15ec209
Fix trailing error
vanessa-passage db8b809
fix: missing api key
vanessa-passage 6621c05
style: remove generated docs linting
vanessa-passage 9a571a7
style: remove formatting
vanessa-passage 1b07e89
Apply suggestions from code review
vanessa-passage 33b42e0
refactor: use Gem::Deprecate
vanessa-passage 5e42018
fix: broken test
vanessa-passage 272c6fa
refactor: remove create_magic_link warn
vanessa-passage 2230557
fix: test cleanup
vanessa-passage 3b24a74
Merge branch 'main' into PSG-5153-milestone-7-passage-ruby-add-new-cl…
vanessa-passage 6e88dee
refactor: PassageError
3df4071
refactor: deprecate auth fetch_app, fetch_jwks, authenticate_token
7871844
feat: deprecate user.update and user.create parameters
4cd352d
refactor: PassageError messages
e7ad8e6
Fix tests
81dff81
Merge branch 'main' into PSG-5153-milestone-7-passage-ruby-add-new-cl…
vanessa-passage 7de10e6
feat: Rails caching
fefbf8f
revert:
06b6907
Merge main
cf9d32a
feat: install ActiveSupport for jwks caching
d203a99
refactor: token function layout
347d212
Merge branch 'main' into PSG-5093-milestone-7-passage-ruby-remove-jwk…
vanessa-passage 589e18b
lower activesupport version
7e7424a
feat: 1 hour exipration for jwks cache
305f403
feat: install activesupport gem
34c6131
feat: remove kid check
8c77f7e
Merge branch 'main' into PSG-5093-milestone-7-passage-ruby-remove-jwk…
vanessa-passage 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,4 +59,4 @@ You can check for the gem here: | |
|
||
``` | ||
gem list -r passage | ||
``` | ||
``` |
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.
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.
The most recent version of this gem is 8.0. Ruby version needs to be increased to 3.2.
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.
I think this should be moved to the gemspec instead since this section is only for dev dependencies
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.
100% good catch.