OAuth 2 authentication – Need to generate an accessToken from backend
-
Hi,
Our usecase: We are working on backend application where we want to generate an accessToken from the backend only so that we could authenticate the APIs. We don’t want any human intervent1. We went through the OAuth2 API documentation where we observed that the password grant_type is available, but it is mentioned that as “This is meant for testing purposes only“.
API Doc: https://developer.wordpress.com/docs/oauth2/
Would you please let us know why we can’t use this in production? Will there be any issues if we use it?
2. We also observed that there are other methods like Server / Code Authentication and Client/Implicit Oauth, but it needs a human intervention where we have to login on the website and provide a consent.
Would you please suggest what should we use to generate the accessToken from the backend only?
Thanks
The blog I need help with is: (visible only to logged in users)
-
This is the support forum for our free sites (which do not have the ability to add custom code) so we are not able to answer this request. The good news is that the eCommerce Yearly Plan upgrade on your site includes priority support that you can access 24 hours a day .
With this in mind, you are encouraged to reach out to us here, and we can take a closer look at your issue in real time. No need to wait for a reply in the forums: https://wordpress.com/help/contact
- The topic ‘OAuth 2 authentication – Need to generate an accessToken from backend’ is closed to new replies.