Skip to content

[UserBundle] Allow user password to be null for SSO #12441

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 2 commits into from
Mar 18, 2021

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Mar 11, 2021

Q A
Branch? 1.7, 1.8 or master
Bug fix? no/yes
New feature? no/yes
BC breaks? no/yes
Deprecations? no/yes
Related tickets fixes #X, partially #Y, mentioned in #Z
License MIT

When using a SSO such as Keycloak, you don't need a password. It's better to allow null instead of setting plain password with a random value.

Moreover, password will be decoupled from user interface on Symfony security user.
symfony/symfony#40267

@loic425 loic425 requested a review from a team as a code owner March 11, 2021 14:40
@loic425 loic425 changed the title Allow user password to be null [UserBundle] Allow user password to be null for SSO Mar 11, 2021
@pamil pamil added RFC Discussions about potential changes or new features. Feature New feature proposals. labels Mar 16, 2021

declare(strict_types=1);

namespace Sylius\Bundle\AdminApiBundle\Migrations;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pamil I think this is a wrong namespace (automatically generated).
Sylius\Bundle\UserBundle\Migrations ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's right! Let's move it to CoreBundle, we only provide migrations there.


declare(strict_types=1);

namespace Sylius\Bundle\AdminApiBundle\Migrations;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's right! Let's move it to CoreBundle, we only provide migrations there.

@pamil pamil merged commit 03b975b into Sylius:master Mar 18, 2021
@pamil
Copy link
Contributor

pamil commented Mar 18, 2021

Thank you, Loïc! 🎉

@loic425 loic425 deleted the feature/allow-user-password-to-be-null branch March 18, 2021 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals. RFC Discussions about potential changes or new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy