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

SetSecret regenerates config with new secret in the Lcobucci provider #2262

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

f3cp
Copy link

@f3cp f3cp commented May 28, 2024

Description

The secret that is set using the SetSecret method of the Lcobucci Provider is not used when encoding/decoding.
This is due to the secret only being applied when the config is generated when the provider is first being constructed.

To fix the issue, the config needs to be regenerated after the new Secret has been set.

Fixes #2258 #2234 #2215

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

Successfully merging this pull request may close these issues.

JWTAuth::getJWTProvider()->setSecret( ... dosent work
1 participant