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

Update docs #591

Closed
toddheslin opened this issue Nov 20, 2018 · 4 comments
Closed

Update docs #591

toddheslin opened this issue Nov 20, 2018 · 4 comments
Milestone

Comments

@toddheslin
Copy link

There is an option missing from the documentation: Token Endpoint Authentication Method

image

This needs to be set to basic such that the value in here is simply the access_token returned from the /oauth/token request:
image

@toddheslin
Copy link
Author

Should also be noted that 'Client Credentials' dropped off after I changed from POST to Basic.
image

Might be worth testing and/or documenting.

@joshcanhelp
Copy link
Contributor

@toddheslin - Actually, that should be set to the Web App default of "Post," which is why it's not called out specifically. The API token field is more or less a temporary access token for the Management API to allow certain changes to happen. The client credentials grant that gets an access token automatically for Management API changes does not save a token there.

@toddheslin
Copy link
Author

Hmmm I wonder if this is because I didn't go through the wizard setup? I actually used the API to generate the original token (using postman actually) and then pasted it into that wordpress API Token box. I'm struggling to remember but I'm thinking it was the first request that would have failed if I didn't choose Basic.

Oh well, close the issue and if anyone comes across a similar issue they can chime in and we can see if it warrants a bit more explanation :-)

btw great community management! I see you've been active across the issues and wordpress comments. Must be a tough role playing whack-a-mole with such a wide variety of implementations. 👍

@joshcanhelp
Copy link
Contributor

The setup wizard is the preferred way to do it as it takes care of all of the different details. That said, we're working on a way to have that be a little more interactive and less of a black box.

btw great community management!

Thank you! It's a lot of fun and pretty much every issue either leads to a fix/improvement or better documentation so it's all part of the process 😄

@joshcanhelp joshcanhelp added this to the 3.9.0 milestone Jan 10, 2019
@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

No branches or pull requests

2 participants