An open API service indexing awesome lists of open source software.

https://github.com/tansengming/devise-facebook-authenticatable


https://github.com/tansengming/devise-facebook-authenticatable

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

## Overview

This is a sample Rails project that gets Facebook authentication (with popups!) working with Devise.

## Usage

Clone & run. Feel free to update the User schema and model to fit your needs. I highly recommend that you update the access token every time you get it, since it expires in 2 hours without the offline access scope.

## TODO

- tests
- better handling of authentication failures
- I should really build a generator for this one day.

## References & Sources

- https://github.com/plataformatec/devise/wiki/OmniAuth%3a-Overview
- http://stackoverflow.com/questions/4491433/turn-omniauth-facebook-login-into-a-popup
- https://github.com/seyhunak/twitter-bootstrap-rails
- https://github.com/necolas/css3-social-signin-buttons