Skip to content
New issue

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

Not found jwt token exception translate #1111

Open
furkandura opened this issue Feb 5, 2023 · 0 comments
Open

Not found jwt token exception translate #1111

furkandura opened this issue Feb 5, 2023 · 0 comments

Comments

@furkandura
Copy link

Why jwt not found exception cannot be translated while other exception messages can be translated ?

$exception = new MissingTokenException('JWT Token not found', 0, $authException);
        $event = new JWTNotFoundEvent($exception, new JWTAuthenticationFailureResponse($exception->getMessageKey()), $request);

        $this->eventDispatcher->dispatch($event, Events::JWT_NOT_FOUND);
@furkandura furkandura changed the title Not found jwt token translate Not found jwt token exception translate Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant