Giter Site home page Giter Site logo

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

View Code? Open in Web Editor NEW
438.0 28.0 229.0 391 KB

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

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

Ruby 76.37% CoffeeScript 0.03% JavaScript 1.14% CSS 1.25% HTML 21.21%

social-login-in-rails's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

social-login-in-rails's People

Contributors

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

social-login-in-rails's Issues

Facebook and Twitter login not working

Tried logging in with Facebook and it failed, then tried Twitter and it failed. It wasn't until I logged in with LinkedIn that it worked, and then I was able to authenticate Facebook.

License Issue

Dude, don't use a made up license. There are sophisticated licenses available and they exist for a reason. Consequences of a bad license are catastrophic. Consider changing it. I recommend use GPLv2.

Email confirmation in twitter

Hi!

First of all, thanks for great example!
Please tell me how to do so that when the user authorization via twitter, he was asked to enter an email. If this email is already there, it would have added provider to the user, otherwise, a new user?

Configuration

Can the process to build this be added to the wiki on the repo? I think the process was on this website but the website is down.

Rake Error

I keep getting this rake error when I add the following the application.rb https://gist.github.com/cdesch/11191336

social_keys = File.join(Rails.root, 'config', 'social_keys.yml')
CONFIG = HashWithIndifferentAccess.new(YAML::load(IO.read(social_keys)))[Rails.env]
CONFIG.each do |k,v|
  ENV[k.upcase] ||= v
end

Error:
https://gist.github.com/cdesch/11191294

This is using rails 4.0.4 and ruby ruby-2.0.0-p247. i've tried switching version of ruby several times now and also versions of rake. I'm not sure what I'm missing

why to check if user.persisted? in the callback

Sorry in advance, as I am new to GitHub and not fully aware where to ask questions.
First thank you very much for the app, which is a great example.

I have one question though why in omniauth_callback_controller we are still doing this line?

if user.persisted?

since we are are definitely creating user as part of our from_omniauth method. Are there any cases where we will get to else branch

Rails 3

Did you have the code for the Rails 3 version? Could you add it as a branch?

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.