Kosso
Kosso
Don't forget to handle the expiry of the token. (Does this plugin handle that yet? Last time I looked, the database was getting clogged up with loads of them) I...
There does appear to be a _lot_ of leftover/old entries in the `wp_options` table for request tokens and access tokens. Something is definitely not right in how the plugin is...
I think this might have got fixed in here : https://github.com/WP-API/OAuth1/commit/662c9f840760b1c5c7092acfb94bd3ae2703256a All OAuth tests seem to be working for me now. My cobbled-together test script is here : https://gist.github.com/kosso/71c957e30a40116e5f98
Useful. But this seems like something more suited to a plugin, if at all possible.
I tried this. And while it did clear out all the old access_tokens, I could not log in to my app, despite it leaving one behind.
I've just tried this change again on 2.0-Beta15 and it appears to be working as expected now. No more duplicate Application entries on the profile page from the same client....
Try this test script of mine via another domain. https://gist.github.com/kosso/71c957e30a40116e5f98 It's working for me with WP v4.6.1, WP-API v2.0-Beta15 and OAuth1 v0.3.0
Hi, That was going to be my next question : Is it possible for an administrator to create an application via an authenticated request via the API? eg: I am...
Have a look at how this works. https://gist.github.com/kosso/71c957e30a40116e5f98 Particularly line 319 for my oauthRequest() function and the _http() one below it. See how it detects if it's a file or...
👍 Thanks! This fixed my issue when using &filter[cat]=n