Av/347 fix token refresh expiry#664
Merged
Merged
Conversation
…use_kdf_in_key_generation
…flutter_secure_storage_security_issue
…use_kdf_in_key_generation
…/anusii/solidpod into av/fix_flutter_secure_storage_security_issue
…//github.com/anusii/solidpod into av/347_fix_token_refresh_expiry
gjwgit
approved these changes
Jun 10, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request Details
Description
_getRefreshedAuthDatanow refreshes when the token is null or within a 2-minute buffer of expiry (not just strictly expired), and falls back to existing data ifrefreshToken()returns null.Related Issues
anusii/solidui#347
Type of Change
How To Test?
Use the corresponding solid_auth branch: https://github.com/anusii/solid_auth/tree/av/347_fix_token_refresh_expiry
Run the example app and wait for the access token to get expired. Then run any POD access function such as read or write to see if that works. If it works, that means the access token has been refreshed silently in background.
Checklist
make preporflutter analyze lib)dart testoutput or screenshot included in issue #Finalising