Computing Magazine

Social Media Authentication On Rails- Part 1

Posted on the 13 October 2014 by Abhishek Somani @somaniabhi
This Post is intended to provide an overview of the installation of social authentication plugins like Twitter/Github/Facebook & Google using Rails version 4 with devise(authentication plugin),omniauth(API Plugin for Social websites) & Mongo DB as underlying Database. Before Proceeding towards installation/building a rails application that allows authentication with social websites we need to get API/Client Keys & API/Client Secret. Here are the urls from where you can create an App and get the keys: Facebook:URL: Facebook Link Social Media Authentication On Rails- Part 1 Twitter:>URL: Twitter Social Media Authentication On Rails- Part 1 Social Media Authentication On Rails- Part 1 Settings: Enter call back url as : http://127.0.0.1:3000/auth/twitter/callback/ under settings tab once you create an application Social Media Authentication On Rails- Part 1 Google:URL: Google URL
Social Media Authentication On Rails- Part 1Settings: Go to API Access and enter redirect url as http://localhost:3000/users/auth/google_oauth2/callbackLinkedIn:>URL: LinkedIn URL Linked In Api Doesnot require any call back URI. Application URL is Enough for Linked in api as Omniauth-linked Has its method defined in Gem. Social Media Authentication On Rails- Part 1In the next post , the ROR code will be explained to integrate these social applications .

Back to Featured Articles on Logo Paperblog

Paperblog Hot Topics

Magazines