Removed bad practice of setting `provider` and `uid` as attr_accessible
Updated OmniAuth: Overview (markdown)
This page was getting too specific about certain OmniAuth strategies (mainly Google), including misleading information. Let's keep this page to a simple example.
The approval prompt has been deprecated. If you still want to have the approval_prompt each time a user logs in, you have to pass in :authorization_params => {:approval_prompt => "force"} within the options hash. Here is the issue on github for the gem (https://github.com/zquestz/omniauth-google-oauth2/pull/59).
fixed markdown ```ruby blocks syntax
Making FB user schema match the User.create example.
update text for fix of security issue
remove section about passthru. see https://github.com/plataformatec/devise/issues/2386
clarify what is required in the user model
clarify google instructions
Added the certified gem option for the SSL error (helped me a lot!)
The `omniauth_providers` array is used to build the constraints on the :providers parameter of the `user_omniauth_authorize_path` Without this list on `User` the routes mentioned in this overview will error out.
Included instructions for developers using OS/X to bypass certificate verification in the development environment
Gem oauth2 does not need to be required directly since omniauth-facebook depends on it and it will be installed anyway.
Changed `users/sessions#new` into `devise/sessions#new`. Same for `#destroy`. There is no Users::SessionsController.
Fix initial Gemfile where we add OmniAuth OAuth
explained process of adding required columns to User table.
Adding specific mention of what "our model" is referencing.