Giter Site home page Giter Site logo

muhammadyana / social-login-in-rails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mohitjain/social-login-in-rails

0.0 2.0 0.0 599 KB

A small application with integrates with Devise + Twitter + Facebook + Linkedin + Google + Github.

Home Page: http://social-login-in-rails.herokuapp.com/

Ruby 78.02% CoffeeScript 0.03% JavaScript 0.76% CSS 1.26% HTML 19.93%

social-login-in-rails's Introduction

Devise + Facebook Login + Google Login + Twitter Login + Linkedin Login + Github Login

Basic application with all the popular Social login System.

Demo

Live Demo for rails 3.2.15 and Foundation Framework (Code lies on tag rails-3.2.15-foundation)

For rails 4.2.3 and Twitter bootstrap - Pull the code from master branch

Gems Used

  • devise
  • zurb-foundation (For Rails 3.2.15 version)
  • Twitter Bootstrap (For Rails 4.0.2 version)
  • carrierwave
  • twitter
  • jquery-rails
  • json
  • koala
  • linkedin
  • omniauth
  • omniauth-facebook
  • omniauth-github
  • omniauth-google-oauth2
  • omniauth-linkedin
  • omniauth-twitter
  • rmagick

##Notes

I am using devise in this application. Few things to note in this:

  • There are two models in this application a user model and an authorizations model and a user has_many authorizations.
  • User can link to multiple social account from edit profile
  • Once social accounts are linked, user can login from any connected social network.
  • If user tries to create an account with a different social network while in loggedout stat. System maps it to the same account if that email address exists in the database else it will create a new account.
  • Twitter don't provide email address of the user, nothing I can do about it.
  • There are lot of other commented out gems in the Gemfile. Those are the gems that I use a lot in my various projects. I will strongly suggest you to checkout those gems.

configuration notes

Contributors

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

You just DO WHAT THE FUCK YOU WANT TO.

social-login-in-rails's People

Contributors

ericktai avatar maxcodes avatar mohitjain avatar richardgrossman avatar rstormsf avatar sancopanco avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.