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

Fixed Client Grant Types during update #377

Merged
merged 1 commit into from
Jan 26, 2018
Merged

Conversation

joshcanhelp
Copy link
Contributor

Older legacy clients may not have the client_credentials Grant Type activated in their Client Advanced settings. This will prevent them from getting a Management API token, breaking functionality in a number of places. This can be remedied manually in Client Advanced Settings > Grant Types tab, activating the Client Credentials type.

This PR adds a DB version and attempts to update this automatically if there is a valid API token saved in wp-admin. It also enforces the correct grant_types during client creation and adds a note to the README and CHANGELOG regarding the 3.5.0 update.

… 17 to attempt to update existing grant_types; better banner verbiage and error log handling for the update
@joshcanhelp joshcanhelp added this to the 3.5.1 milestone Jan 26, 2018
@joshcanhelp joshcanhelp changed the title Fixed Client Grant Types Fixed Client Grant Types during update Jan 26, 2018
@joshcanhelp joshcanhelp merged commit dc06449 into dev Jan 26, 2018
@joshcanhelp joshcanhelp deleted the fixed-adding-client-grants branch January 26, 2018 18:45
@joshcanhelp joshcanhelp mentioned this pull request Jan 26, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants