Giter Site home page Giter Site logo

Comments (8)

nicolasblanco avatar nicolasblanco commented on June 14, 2024

Yeah.

Currently the plugin uses the RPX identifier to authenticate and to create new users in the database. This identifier is unique and links to 1 user on 1 social network.

So if you login using 3 different social networks, it will create 3 different users even if the popup remembers the old connection and you use the same email address for each social network...

Like written in the README TODO, it should be possible to implement some kind of multiple account mapping. The author of authlogic_rpx wrote some kind of implementation.

The first thing we should do is to store the rpx_identifier in a separate table. So one user may have multiple rpx_identifiers. Then, we could write some strategy : for example, like the feature you want to implement : a new connection with a new rpx identifier but using an existing email address could be linked to the existing user...

If you work on this, I'll accept your contributions...

from devise_rpx_connectable.

neerajsingh0101 avatar neerajsingh0101 commented on June 14, 2024

So if you login using 3 different social networks, it will create 3 different users even if the popup remembers the old connection and you use the same email address for each social network...

My experience was that if one user [email protected] is logged in through facebook and if John tries to log in through google then another record is not created. Also John is stuck and is not logged in.

from devise_rpx_connectable.

neerajsingh0101 avatar neerajsingh0101 commented on June 14, 2024

I'm willing to work on patch once I understand the strategy and what needs to be done.

from devise_rpx_connectable.

danieljohnmorris avatar danieljohnmorris commented on June 14, 2024

you need to pay for rpx, and implement single signon

from devise_rpx_connectable.

raid5 avatar raid5 commented on June 14, 2024

As said danieljohnmorris, it appears Account Mapping is only available in the Plus account ($10/mo).

from devise_rpx_connectable.

medihack avatar medihack commented on June 14, 2024

Does that mean when having a Janrain Plus account that feature would work automatically, or are there additional modifications of devise_rpx_connectable needed?

from devise_rpx_connectable.

TheEmpty avatar TheEmpty commented on June 14, 2024

No you do not need the Janrain Plus, I am currently working on making a fix myself which I can contribute once it's done. But mine will not use has_many :identifiers so that it may be backward compatible, but it can easily be added and I might just do that.

from devise_rpx_connectable.

TheEmpty avatar TheEmpty commented on June 14, 2024

Fixed: https://github.com/TheEmpty/devise_rpx_connectable

from devise_rpx_connectable.

Related Issues (15)

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.