An implementation of http://microformats.org/wiki/RelMeAuth.
Sign-in to websites using your own domain.
For example, say you own https://john.example.com. First you would need to set
this domain on your Flickr/GitHub profile(s). Then add a <a rel="me" href="..."> link to those profiles from https://john.example.com.
Now you can go to relme-auth, enter https://john.example.com and hit
sign-in. You can then select which provider you want to authenticate with.
This should be pretty standard for a Go project. It requires modules to pin specific versions of packages.
$ go install hawx.me/code/relme-auth
Go to both Flickr and GitHub, and setup a new app. Take the id/apiKey
and secret given and put in a config.toml file like so,
[flickr]
id = "..."
secret = "..."
[github]
id = "..."
secret = "..."Then run the app and go to http://localhost:8080.
$ relme-auth --cookie-secret something