Skip to content

[Security] Update experimental_authenticators : add UserBadge #14672

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

Closed
wants to merge 1 commit into from

Conversation

duboiss
Copy link
Contributor

@duboiss duboiss commented Dec 7, 2020

Since 5.2 we must use a UserBadge object as the first argument of SelfValidatingPassport.

Check symfony/symfony#37846 for more details.
Warning for the first post, after a discussion it's not possible to pass a string as in the example.

@duboiss duboiss changed the title Update experimental_authenticators : add UserBadge [Security] Update experimental_authenticators : add UserBadge Dec 7, 2020
@wouterj
Copy link
Member

wouterj commented Dec 8, 2020

Hi @duboiss! Thanks for your contribution.

I made a small mistake during the merge, so unfortunately I cannot get this PR marked as "merged" by GitHub. But it is merged in 8cf987f . After the merge, I made some more changes to the article related to these changes in 01cb2b0 .

Thanks again, I hope this will avoid confusion for everyone that's trying out the new security :)

@wouterj wouterj closed this Dec 8, 2020
wouterj added a commit that referenced this pull request Dec 10, 2020
* 5.2:
  Update setup page for Symfony 5.1 - add version
  Update setup page for Symfony 5.2 - drop dev
  [#14671] Added example of inline host defaults/requirements
  [#14672] Updated more docs related to the UserBadge
  Update experimental_authenticators : add UserBadge
  Document routing inline requirements and defaults for host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants