Skip to content
New issue

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

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

Already on GitHub? # to your account

When using the #-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/#
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 # since I did not receive a password e-mail.

my.username+alias@gmail.com turned into my.usernamealias@gmail.com

@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();
}

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

No branches or pull requests

3 participants