lexik/LexikJWTAuthenticationBundle

Custom JWT token key

tbredillet opened this issue · 0 comments

Can we add the feature for customize the token key ?

The code to edit is AuthenticationSuccessHandler.php line 67

$event = new AuthenticationSuccessEvent(['token' => $jwt], $user, $response);

to

$event = new AuthenticationSuccessEvent(['accessToken' => $jwt], $user, $response);