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
bug #922 Fix error when trying to decode token using new authenticator system (fd6130)
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
Fix error when trying to decode token using new authenticator system
If you are using new authenticator system, you cannot decode the token in a service or controller using `$jwtManager->decode($token->getToken());` because the Token Class `getCredentials()` return empty array instead of token.
Now i'm not sure about the `public function createToken(Passport $passport, string $firewallName): TokenInterface` in JwtAuthenticator. Do i need to adjust that one as well?
Anyways, this Fix#921.
Commits
-------
d73d1b8 Fix error when trying to decode token using new authenticator system
0 commit comments