You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok my guessing is that due to the support of new authentication system in this bundle, the JWTAuthenticator use PostAuthenticationToken that have no credentials included.
My proposal to fix this issue is that include the jwt token by setting attribute for the SelfValidatingPassport then use JWTPostAuthenticationToken (which haven't implement) instead of The PostAuthenticationToken in JWTAuthenticator. That should solve the issue when calling $jwtManager->decode($token->getToken());
Symfony version: 5.3
Bundle version: 2.13.0
When i try to follow this PR #604 to decode the token
$jwtManager->decode($token->getToken());
it throw exception "Invalid JWT Token" .The culprit is
$token->getCredentials()
, it is empty even though i already login.The text was updated successfully, but these errors were encountered: