2 ms·
I recently build an OAuth2 provider application on top of free ruby libraries (doorkeeper, devise, rails 3.2) for the german pirate party. While it's currently
by rmoriz 14y ago
I recently build an OAuth2 provider application on top of free ruby libraries (doorkeeper, devise, rails 3.2) for the german pirate party.
While it's currently only in German, it already uses I18n and has a nice coverage in rspec and cucumber.
see https://github.com/rmoriz/piraten_login#readme https://github.com/rmoriz/piraten_login#readme and https://piratenlogin.de/ https://piratenlogin.de/
Already implemented (but not documented yet) is an XMPP push notification API that consumers can use to send notifications (using Blather, EventMachine, Redis PubSub, Foreman). Also several roles (scopes) are implemented to allow everything from "per-consumer-app-uid", "global uid" up to push messaging (for people interested in privacy)
An Omniauth plugin to implement PiratenLogin is available here (thanks to the awesome doorkeeper gem):
https://github.com/rmoriz/omniauth_piratenlogin#readme https://github.com/rmoriz/omniauth_piratenlogin#readme