Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

WordPress plugin

Not done yet. Taking notes.

To do

  • Detect login, and send to accounts RP frontend
  • Detect return from RP with two GET parms state, code to get Bearer token
  • How to find user, Create one if inexistent
  • How to start a session

Tests

On login attempt, send to RP

add_action( 'login_head', 'prout' );
function prout( )
{
  header('Location: https://accounts.webplatform.org/oauth/signin');
}

Unsorted pointers