Skip to content

fix: remove 'anonymous' security in JWT config #1447

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

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

wiese
Copy link
Contributor

@wiese wiese commented Oct 20, 2021

The anonymous option for the firewall config was removed in symfony 5.1
as explained here: symfony/symfony#36574

Using the option caused an error but it can be skipped. "[A] user that
is not authenticated is similar to an "unknown" user: They both have no
rights at all."

Resolves #1445

The anonymous option for the firewall config was removed in symfony 5.1
as explained here: symfony/symfony#36574

Using the option caused an error but it can be skipped. "[A] user that
is not authenticated is similar to an "unknown" user: They both have no
rights at all."

Resolves api-platform#1445
@alanpoulain
Copy link
Member

Thank you.

@alanpoulain alanpoulain merged commit a09283e into api-platform:2.6 Oct 20, 2021
@wiese wiese deleted the patch-1 branch October 20, 2021 10:27
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.

JWT Authentication SecurityBundle configuration references 'anonymous' security
2 participants