Relative Content

Tag Archive for symfonyapi-platform.com

Multiple identify validation parameters for lexik-jwt bundle?

What I’m trying to achieve is specifiying inside the .yaml path multple identity-parameters to validate users with the lexik-jwt bundle. Currently, only emails are working as an identifier. However, I want both to work, a custom nickname/username AND an email, meaning that it’s redundant which of these two is given, the functionality shall remain. My parameter for this is being specified in the path
security/firewalls/main/json_login/username_path: email inside the “security.yaml” config-file.