Skip to content

camara-tech/OAuth1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 1.0a Server for WordPress

This project is an OAuth 1.0a-compatible authentication method for WordPress. This is a separate-but-related project to [WP API][], designed to provide authentication suitable for the API.

Documentation

Read the plugin's documentation.

Quick Setup

Want to test out the OAuth API and work on it? Here's how you can set up your own testing environment in a few easy steps:

  1. Install Vagrant and VirtualBox.

  2. Clone Chassis:

    git clone --recursive git@github.com:Chassis/Chassis.git api-tester
    vagrant plugin install vagrant-hostsupdater
  3. Grab a copy of WP API and OAuth API:

    cd api-tester
    mkdir -p content/plugins content/themes
    cp -r wp/wp-content/themes/* content/themes
    git clone git@github.com:WP-API/WP-API.git content/plugins/json-rest-api
    git clone git@github.com:WP-API/OAuth1.git content/plugins/oauth-server
  4. Start the virtual machine:

    vagrant up
  5. Browse to http://vagrant.local/wp/wp-admin/ and activate the WP API and OAuth API plugins

    Username: admin
    Password: password
    
  6. Refer to the documentation on how to connect an OAuth client.

About

OAuth server implementation for WP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%