Add Facebook login with Sorcery
The facebook key and secret defined in the sorcery config file are for testing only and need to be changed and not committed to source when app is ready to go live
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
%h1 Oauths#callback
|
||||
%p Find me in app/views/oauths/callback.html.haml
|
||||
@@ -0,0 +1,2 @@
|
||||
%h1 Oauths#oauth
|
||||
%p Find me in app/views/oauths/oauth.html.haml
|
||||
@@ -8,4 +8,6 @@
|
||||
Create an Account
|
||||
%p
|
||||
#{_ 'user.why_register', 'paragraph'}
|
||||
= link_to 'Login with Facebook', auth_at_provider_path(:provider => :facebook)
|
||||
= render '/users/form'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user