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

Fix default values in WebToken services when encryption disabled #1225

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

Conversation

NeuralClone
Copy link

@NeuralClone NeuralClone commented Jun 6, 2024

Q A
Symfony Version 6.4.x
Bundle Version 3.0.0
PHP Version 8.2
Fixed Tickets fixes #1223
Related Issues/PRs #1209, #1214

This PR fixes the default values in the AccessTokenBuilder and AccessTokenLoader services when encryption is disabled.

@NeuralClone NeuralClone force-pushed the bugfix/incorrect-webtoken-default-args branch 2 times, most recently from 38999c3 to e5839cd Compare June 6, 2024 04:38
@NeuralClone NeuralClone force-pushed the bugfix/incorrect-webtoken-default-args branch from e5839cd to ff16323 Compare June 10, 2024 17:32
@SCIF
Copy link

SCIF commented Aug 18, 2024

Any chance to review this? This affects fresh installations using web-token.

@NeuralClone
Copy link
Author

A review for this PR would definitely be greatly appreciated.

In the original issue I opened, I posted a follow-up comment with a workaround that involves adding a compiler pass to your project. Here's a direct link to it in case you missed it:

#1223 (comment)

It doesn't actually solve the configuration problem, of course. It also assumes that encryption will remain disabled.

But it should let you use the web token services until this PR is reviewed/merged or another solution is implemented.

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.

The algorithm with the alias "" is not supported
3 participants