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

Encypted email for the authentication #1106

Open
RomainPayGreen opened this issue Jan 5, 2023 · 0 comments
Open

Encypted email for the authentication #1106

RomainPayGreen opened this issue Jan 5, 2023 · 0 comments

Comments

@RomainPayGreen
Copy link

Hi there,

I didn't find any related issues to my problem. I have a working setup with your LexikJWT bundle. I have a database with an email/password and a classic password_hashers to encode my passwords.

I would like to encode as well my user email, is there any way to do it natively with your bundle? With a username_hashers or something?

If not, right now I have encoded myself my user email in my database, but I can't figure out how to decode my email BEFORE the authentication is done and my JWT token created. I tried to create a class CustomAuthenticator that extends JWTAuthenticator but didn't succeed to make it work properly.

Thanks for you job and for your help, have a good day!

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

No branches or pull requests

1 participant