Skip to content
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

v4 API: Save updated tokens on refresh #51

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Conversation

n7studios
Copy link
Contributor

Summary

Stores the refreshed Access + Refresh Tokens when an API request is made and the Access Token has expired.

Testing

  • testAccessTokenRefreshedAndSavedWhenExpired: Tests that the new Access and Refresh Tokens are saved in the Plugin's settings when the WordPress Libraries make a call to an API endpoint with an expired Access Token.

Checklist

@n7studios n7studios added the enhancement New feature or request label Jun 19, 2024
@n7studios n7studios self-assigned this Jun 19, 2024
@n7studios n7studios requested review from a team, noelherrick and jenessawhite and removed request for a team June 19, 2024 03:01
@n7studios n7studios marked this pull request as ready for review June 19, 2024 03:01
@n7studios n7studios merged commit 36a6b18 into v4-api-tests Jun 20, 2024
27 checks passed
@n7studios n7studios deleted the v4-api-refresh-token branch June 26, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants