Comments (3)
Hi @wizhippo !
First of all, yes, we can't change the fact that multiple users cannot have same email address. I'm not sure it is a good idea to change/override that. But loading users by email is a feature that does not work in this version anyhow as it was meant to allow connecting with existing eZ users, but was not finished on time for release.
Your proposition could work, but not by relating the social link to one specific siteaccess (what if some of the sites in multi-site setup use more than one siteaccess or more than one siteaccess group?), but by assigning a user group per siteaccess/siteaccess group where all social login accounts would be created and from where would users be loaded when logging in. The config for user group is already there (although separated by resource owner, this could be improved to provide a fallback group), and users are already created in specified user group (I think), we would only need to check if user is really in specified user group when logging in.
That way, you could have one Facebook user linked to two eZ users in two user groups (one for site1, one for site2), and user in correct user group, per configuration in the bundle, will be loaded.
What do you think?
Ping @iherak @alymdrictels
from netgenezsocialconnectbundle.
Thanks @emodric
I had been looking at the siteaccess in a too simplistic way as in my current venture with multi-site every site has it's own siteaccess definition. The user group sounds like a much better and flexible solution.
from netgenezsocialconnectbundle.
Hi @wizhippo
Implementing a solution to this will take a hefty chunk of time, but I plan to look into it over the next few weeks.
from netgenezsocialconnectbundle.
Related Issues (1)
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 netgenezsocialconnectbundle.