Problem/Motivation

Need to add email in both username and email fields if registering in Drupal first time after SSO login.
Also, don't want to change existing role and username once registered.

Steps to reproduce

If we are mapping mail to both fields as per screenshot then it's taking only one and registering username with email in Drupal profile and Email address field gets empty.

Proposed resolution

Attaching a patch for this.

Note: This is specific to a this particular use case.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mukesh.dev created an issue. See original summary.

mukesh.dev’s picture

Title: Not allowing mail in both fields in mapping (mail and username) together after SSO login » Map mail with both fields mail and name together
mukesh.dev’s picture

StatusFileSize
new25.15 KB
mukesh.dev’s picture

Issue summary: View changes
mukesh.dev’s picture

Title: Map mail with both fields mail and name together » Map mail to both fields mail and name together
mukesh.dev’s picture

mukesh.dev’s picture

StatusFileSize
new2.54 KB

Updated patch

  • 974a113e committed on 1.0.x
    feat: #3561376 Map mail to both fields mail and name together
    
    By:...
mahdiwadi’s picture

@mukesh.dev Thank you; merged.

mahdiwadi’s picture

Assigned: mukesh.dev » mahdiwadi
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.