Skip to content
Purely client-site OAuth login with Facebook, Twitter or Google
CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
controllers
lib
models
views
MIT-LICENSE.txt
README.md

README.md

Chaplin

Chaplin Service Providers

In common.js. If you want to use AMD, you’ll need to slightly change stuff.

Usage

  1. Copy controllers/session_controller to your app and init session controller in application class (new SessionController()).
  2. Copy all included lib, models and views to your directories.
  3. Add providers to your SessionController, like this:

    class SessionController extends Controller
      @serviceProviders =
        facebook: new Facebook()

Example application with the addon: https://github.com/paulmillr/ostio.

The Cast

The Producers

Something went wrong with that request. Please try again.