-
Step:1 add the gems in your gemfile
-
Step:2 define your root url
-
Step:3 create user model “user.rb”
-
Step:4 run the migrate command to insert the User table in your database.
-
Step:5 create an app in facebook to get “App-ID” and “App Secret”
-
Step:6 now you need to declare the provider name and app id and key.Go to the file config/initializers/omniauth.rb
-
Step:7 create a new controller named as “sessions_controller.rb”.Add the following method in it.
-
Notifications
You must be signed in to change notification settings - Fork 0
rinoldsimon/RubyonRails_Fb_authentication
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Facebook Authentication using Ruby on Rails.Once authenticated it will display user picture and post a status to the user wall
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published