So, another quick one.

I had the need to test something out in Known around OAuth2 “sign in as” buttons, so I put together a very quick, and generic, client for it.

This is very early days and was really written to implement an MVP proof of concept thingy for a client of mine. However, it could be more widely useful and with a bit of work could be handy for folk.

Installation

  • Check it out
  • Run composer install to get the various libraries
  • Put it in your IdnoPlugins directory as OAuth2Client
  • Activate in your plugins

Usage

Go to the admin page and create your new buttons by filling in the appropriate details.

Out of the box this plugin WON’T fully log you in as whatever, you need to write your own handler plugin to listen to the oauth2/authorised event hook.

This hook is passed an array containing the access token and other details for your to use to match up with a user, or create a new one.

If the hook goes unanswered, the plugin will look for id or username in the return JSON.

» Visit the project on Github...

Just a quick one, as I was doing some stuff for a client, I gave the Known OAuth2 server a bit of a tweak.

First things first, I updated the admin interface so that it shows the endpoint urls needed (doh).

Second, I added support for an owner context url.

Third, the access token can now be passed using an Bearer authorisation header. Since this is now the new hotness, and it’s probably more reliable than passing stuff on a get variable.

Anyway, happy Saturday.

Sunday was the first little get together of the Known Open Collective / IRC community, at the Indieweb Summit in Portland, OR.

It was really great to get everyone together, and to have a little chat about the Known world.

I give a quick overview of what I’d like to work towards on the future roadmap, as well as a summary of progress and some things I’d like to see worked on as we move towards version 1.0 and beyond.

Other community members voiced their desires, as well as raised a few itches, including the need to give the micro pub plugin some love, and to smooth the installation process.

You can read more on the etherpad.

My hope is that these meet ups will become semi-regular, and help grow the community, as well as help drive development forward.

Hashtag GetInvolved.