Simple application to show how WPAuth works.
Go to wordpress apps and create your application to use to get the oauth access token.
Copy settings_example.json to settings.json and
customize as needed. Your settings.json file should look something like
this:
{
"client_id": "<your client id here>",
"client_secret": "<your client secret here>",
"url": {
"redirect": "http://localhost:3001/connect/res"
}
}Other settings that you can change, if needed:
port- if you need to change the default port to something else. Don't forget to update yoururl.redirectsetting too.
Download and install the npm dependencies:
$ npm install
$ npm start