Comments (8)
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.
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.
I'm willing to work on patch once I understand the strategy and what needs to be done.
from devise_rpx_connectable.
you need to pay for rpx, and implement single signon
from devise_rpx_connectable.
As said danieljohnmorris, it appears Account Mapping is only available in the Plus account ($10/mo).
from devise_rpx_connectable.
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.
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.
Fixed: https://github.com/TheEmpty/devise_rpx_connectable
from devise_rpx_connectable.
Related Issues (15)
- ActionController::InvalidAuthenticityToken in Devise/sessionsController#create HOT 3
- more info than rpx_invalid? HOT 5
- Storing additional user data in devise user model HOT 3
- Making it possible to add language_preference to iframe src HOT 1
- Not loading at first? HOT 1
- twitter not save email HOT 2
- Handle RPX multiple accounts mapping?
- forgot password HOT 1
- after_rpx_connect or before_rpx_connect is not called on user model HOT 6
- Sign in with email used as rpx log in raises error HOT 6
- The edit has a password field mandatory HOT 2
- weird testing issue HOT 1
- Violate validations HOT 3
- Before hooks not allowing registration or login HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devise_rpx_connectable.