Login with username or email #1025
Unanswered
FrenchGithubUser
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Sure you can, just create your own custom login api and create the token there. https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/7-manual-token-creation.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My user entity has a username and an email.
Is it possible to login (obtain a token) by providing either the username or the email (letting the user choose the option, like on many websites).
Couldn't find anything about that on the web
Beta Was this translation helpful? Give feedback.
All reactions