Open eoxia-jimmy opened 6 years ago
http://v2.wp-api.org/guide/authentication/ https://discussion.dreamhost.com/t/authenticating-to-the-wordpress-api-using-oauth-1-0a-server/65094 (voir la clé oauth1)
Envoyé la requête get current user me pour récupérer les bonnes informations
Voir https://developer.wordpress.com/docs/api/1.1/get/me/sites/ pour utiliser WordPress au niveau de l'oauth
https://public-api.wordpress.com/oauth2/authorize?client_id=your_client_id&redirect_uri=your_url&response_type=code&scope=global
http://v2.wp-api.org/guide/authentication/ https://discussion.dreamhost.com/t/authenticating-to-the-wordpress-api-using-oauth-1-0a-server/65094 (voir la clé oauth1)