-
Notifications
You must be signed in to change notification settings - Fork 215
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
fix: Always store provided state
in transient medium
#674
Conversation
Codecov ReportBase: 94.29% // Head: 94.22% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #674 +/- ##
============================================
- Coverage 94.29% 94.22% -0.07%
- Complexity 1282 1285 +3
============================================
Files 65 65
Lines 4187 4190 +3
============================================
Hits 3948 3948
- Misses 239 242 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
…um (#674) * fix: Always store provided `state` in transient medium * Test suite fixes; add error handling for odd OpenSSL error in GitHub VM * Bump Ubuntu version on GitHub VM * Update checks.yml * Update checks.yml * Update TokenGenerator.php * Update checks.yml * Update checks.yml * Update checks.yml * Update checks.yml * Update TokenGenerator.php * Test suite fixes and improvements; PHP 8 language feature adoption
Changes
This PR addresses a bug reported in #673 by @winstoncl in which: if a
state
value is provided by the host applications upon callinglogin()
, it was not being properly stored within the given transient medium for comparison later (upon callingexchange()
on the return trip.) This caused anInvalid State
exception to be raised.References
Resolves #673
Testing
Run
composer test
or see GitHub status checks on this PR.Contributor Checklist