How to update the scope of the token?
-
At first, I had received a token after sending the following request:
https://public-api.wordpress.com/oauth2/authorize?client_id=your_client_id&redirect_uri=&response_type=token&scope=posts%20comment%20taxonomyAfter that, I want to add ‘media’ to the scope of the token, so I sent the following request:
https://public-api.wordpress.com/oauth2/authorize?client_id=your_client_id&redirect_uri=&response_type=token&scope=posts%20comment%20taxonomy%20mediaBut it still give me the old token, with the old scope.
How to update the scope of the token, or get a new token with the new scope? -
Hi there!
Could you let us know what exactly are you trying to achieve? Which site are you working on?
-
Hi there.
My site is https://justtestonly.wordpress.com/
I’m trying to use the WordPress API. -
Right but, what exactly are you trying to achieve? There is no need to use the WordPress.com API on a free site, and you might be trying to do something that would require an upgrade.
If we know more details, we can advise better.More information about WordPress.com API can be found here:
https://developer.wordpress.com/docs/api/. -
Hi there.
I have my own reason to use API.
The docs doesn’t say anything about a free plan can’t do some thing.
So please help me to answer my question or direct it to API staff if you can’t answer my question.How to update the scope of the token, or get a new token with the new scope?
-
Did you already try the contact form at https://developer.wordpress.com/contact/? But without knowing what you are trying to do, it’s hard to help you.
-
Thanks for giving me the contact link. It is nowhere to be seen in the developer site.
I’ll try to contact them.
- The topic ‘How to update the scope of the token?’ is closed to new replies.