-
Notifications
You must be signed in to change notification settings - Fork 267
Fire jwt invalidated callback when receiving 401 errors #1478
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
nan-li
merged 34 commits into
identity_verification_get_iams
from
identity_verification_callback
Oct 4, 2024
Merged
Changes from 20 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e7eeba5
create simple way to fire invalid Jwt callback
emawby c0ad6c3
Adding OSJwtInvalidatedEvent and updating the JWT callback
emawby f926109
refactor in UserExecutor to handle 401s
emawby 02acc2a
Unit tests for UserExecutor with identity verification on
emawby 2530e2f
Fire callback for 401 error in property executor
emawby c0156d7
fire Jwt callback from subscription executor
emawby d5514e4
fire Jwt callback for add and remove aliases 401
emawby 5afab13
Remove message for invalid handler
emawby 1d0b97f
Fire JWT callback from IAMs
emawby f3cb3d8
Store UserExecutor requests that need auth
emawby aca978e
store property update requests that need auth
emawby 1ae0deb
store alias update requests that need auth
emawby 3542d34
Adding work in progress Subscription executor auth pends
emawby d90f0d2
[nit] run swiftlint
nan-li 01c2069
cache the pending auth requests in executors
nan-li d579f06
Add pending to fetch user requests
nan-li 19df3db
Don't fire JWT invalid listeners multiple times
nan-li cccb58c
Subscription executor wrap up, add some more tests
nan-li c27842c
[nits] Move public protocols out of User Manager file
nan-li 74e4ef7
Update tests
nan-li 0156328
Update the remote params JWT key
nan-li a2420ee
Re-use existing identity models for new users
nan-li 5433ebb
Remove duplicate Create User requests
nan-li 01fde6f
Don't send push sub for previous users to avoid transfer
nan-li 8d0d088
Extract out User Manager Loggable extension for file length
nan-li b5ae642
Update JWT invalidated listener and event API
nan-li 7d5db5e
Update tests after JWT listener API change
nan-li 0dc2cee
Disable push sub when logout called (JWT on)
nan-li 5ad412f
Fire user observer on logout (JWT on)
nan-li 0d9c62d
[nit] move a method to extension for swiftlint
nan-li 1f60b08
[nit] Clean up logging, remove hardcoded prints
nan-li 0a81b7a
Revert back to production servers
nan-li 1e7bce1
Merge pull request #1488 from OneSignal/identity_verification_logout
nan-li d4588f5
Merge pull request #1487 from OneSignal/identity_verification_multipl…
nan-li 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
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.