We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
After upgrading to Sf 5.3, I get a 401 right after login.
In vendor/lexik/jwt-authentication-bundle/Security/Guard/JWTTokenAuthenticator.php
vendor/lexik/jwt-authentication-bundle/Security/Guard/JWTTokenAuthenticator.php
Replacing return $userProvider->loadUserByUsername($identity); with return $userProvider->loadUserByIdentifier($identity); solves the problem.
return $userProvider->loadUserByUsername($identity);
return $userProvider->loadUserByIdentifier($identity);
Is there an update about to be published?
The text was updated successfully, but these errors were encountered:
If you're implementing UserLoaderInterface using this example doesn't fixes your issue?
UserLoaderInterface
public function loadUserByUsername(string $username) { return $this->loadUserByIdentifier($username); }
Sorry, something went wrong.
jwt
319364d
Successfully merging a pull request may close this issue.
Hi,
After upgrading to Sf 5.3, I get a 401 right after login.
In
vendor/lexik/jwt-authentication-bundle/Security/Guard/JWTTokenAuthenticator.php
Replacing
return $userProvider->loadUserByUsername($identity);
withreturn $userProvider->loadUserByIdentifier($identity);
solves the problem.
Is there an update about to be published?
The text was updated successfully, but these errors were encountered: