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

Auto-Provision Usernames as Alias, Rather than Email Address #225

Open
mrjarbenne opened this issue Oct 1, 2019 · 1 comment
Open

Auto-Provision Usernames as Alias, Rather than Email Address #225

mrjarbenne opened this issue Oct 1, 2019 · 1 comment
Milestone

Comments

@mrjarbenne
Copy link

Currently users who are created via this plugin end up with a username format matching their email address. Prior to activating this plugin, our user sync through SAML created users based on their alias, so a user with the email address bob@domain.com was assigned the WP username bob. Under the new logic, Bob's username is bob@domain.com. Because we are authenticating to a BuddyPress social network, this username format makes @mentioning cumbersome.

The plugin is accounting for existing alias usernames like "bob" to be matched to Azure profiles like bob@domain.com, but new users are being created with their email address as the username. If I manually change the username from bob@domain.com to bob, the plugin still recognizes this is the same user on subsequent authentications, but it would be awesome if there was a snippet I could add, or a toggle in the settings I'm not fully understanding, to switch this logic to auto-provision users with the alias as their username.

@psignoret
Copy link
Owner

@mrjarbenne Thanks for this great feedback. This is definitely something we can consider for a future release.

@psignoret psignoret modified the milestones: 1.0.0, 1.1.0 Oct 2, 2019
r-a-y added a commit to hwdsb/aad-sso-wordpress that referenced this issue Jan 15, 2020
This will allow developers to modify the user's data before the user is
created in WordPress.

See psignoret#225.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants