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

Custom JWT token key #1194

Open
tbredillet opened this issue Jan 12, 2024 · 0 comments
Open

Custom JWT token key #1194

tbredillet opened this issue Jan 12, 2024 · 0 comments

Comments

@tbredillet
Copy link

tbredillet commented Jan 12, 2024

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);

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