WP REST API Oauth 1.0a
-
I have been trying to make a post from an andriod device to wordpress local installation, which is using XAMPP server, After the github page suggestion, i changed the .htaccess file as follow, anyhow still i get 401 Unauthorize response.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /speedy/ # Enable HTTP Auth RewriteCond %{HTTP:Authorization} ^(.) RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1] SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /speedy/index.php [L] </IfModule> # END WordPress
Now it works fine with the plugin Basic Auth but with Oauth 1.0a i still get 401.
I am using Disable anonymous accessplugin as well.Also i dont understand about the callback url, which i have to specify when i create new application using wp oauth server 1.0a in wp-admin area.
this is the tutorial i have followed.tutorial
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP REST API Oauth 1.0a’ is closed to new replies.