Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow accounts with same email #227

Open
behoof opened this issue Jan 5, 2017 · 4 comments
Open

Allow accounts with same email #227

behoof opened this issue Jan 5, 2017 · 4 comments

Comments

@behoof
Copy link

behoof commented Jan 5, 2017

Hi mouneyrac,

In case I allow accounts with the same email (allowaccountssameemail) in moodle
and an account with a certain email address exist,
the linkedin authentication ends with an error: "Authentication method error.Please try to login again with your username and password."

The other way around:
In case I have a already a linkedin account registered with that email address
and I open a manual account with the same email address,... I'm able to login with both accounts

So, I assume that your very nice plugin doesn't permit opening an account with an existing email address, even if It's permitted it in moodle.

Do you consider this as a bug?

Best regards,

Bert

@dashohoxha
Copy link

I am not a Moodle expert, but I think that "allow accounts with the same email (allowaccountssameemail)" means that you 2 different accounts, which happens to have the same email address. I think that this is not the desired behaviour.
The desired behaviour is to allow the user to authenticate and access his own account (the same account) either with username/password, or with oauth2 authentication. I don't know why it is so difficult.

@dashohoxha
Copy link

dashohoxha commented Feb 15, 2017

By the way, if a user needs to have different accounts with the same email address, he can change the email address of one account from [email protected] to [email protected] (many mail servers ignore the part after +). This trick works in many applications and it works in Moodle too.

@mouneyrac
Copy link
Collaborator

Hi,
I didn't know it worked the other way around (maybe it is only in a recent Moodle version). I added the label Bug to the issue. That said this issue is a duplicate of many other issues (need some tracker cleaning). Thanks for the report anyway, it is good to know it works the other way :)

@mouneyrac
Copy link
Collaborator

the original #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants