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

When using the signup-procedure (in LWA) and using email with + - the +-sign should not be stripped #48

Open
maurtvedt opened this issue Dec 1, 2015 · 1 comment
Assignees
Labels

Comments

@maurtvedt
Copy link

Upon testing singup at https://whydahdev.cantara.no/sso/signup
I used gmail alias feature (https://support.google.com/mail/answer/12096?hl=en) in both username and email. In username it worked fine, but in e-mail it was stripped away resulting in failed signup since I did not receive a password e-mail.

[email protected] turned into [email protected]

@maurtvedt maurtvedt added the bug label Dec 1, 2015
@totto
Copy link
Member

totto commented Dec 1, 2015

in UserIdentityService:

if (dto.getEmail() != null && dto.getEmail().contains("+")) {
email = replacePlusWithEmpty(dto.getEmail());
} else {
email = dto.getEmail();
}

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

No branches or pull requests

3 participants