- Copy config/secret.yml.example to config/secrets.yml and assign proper values.
- Copy config/database.yml.example to config/database.yml and assign proper values.
- Run database migration.
- Run rails server.
- User - The account for authentication, using devise.
- OmniauthRef - To store the omniauth data.
- OmniauthProvider - The interface to gen the OmniauthProvider::Base-based object. Define the supported providers.
- OmniauthProvider::Base - The base class of OmniauthProvider, define the methods to handle the omniauth account creation and binding.
- OmniauthProvider::Facebook - The Facebook provider class.
- OmniauthCallbacksController - To receive the request from omniauth app.
- OmniauthMailController - To handle the case that there is on email information from omniauth.
- OmniauthMailController#new - The page for asking the email information.
Sibevin Wang
Copyright (c) 2014 Sibevin Wang. Released under the MIT license.