wp oauth website client connection
-
I’m not sure it’s the right place for this question so if not please direct me to the right one.
[ Moderator note: moved to Hacks. ]
I’m building a cool webapp and instead of developing my own content and user management system I have decided to give WordPress a shot.
I have my script running from dev/script.php and I installed WordPress on dev/wp/. When accessing basic functionality like querying posts everything works like a charm but to log in I need to connect to the json-api via oauth1.
I have installed both plugins (wp-json and oauth1) and I want to connect my app. My question is: how? I have read everything the documentation has to give me and I found it to be skipping some basic steps.
On this article it says that I should create a consumer and that in order to create one I need to run the following code on my server.
$ wp oauth1 add ID: 4 Key: YYYYYYYY Secret: XXXXXXXXXXXXXXX
What is this code? should I run it simply from the command line, or on a specific folder? And using the same key and secret as the rest of those who read this tutorial is quite a security issue, isn’t it?
- The topic ‘wp oauth website client connection’ is closed to new replies.