Skip to content

Existing user first name and last name not populated when logging in via SAML. #5693

Description

@robertnorrie

How are you running Flagsmith

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)

Describe the bug

If you have existing users with missing information, such as missing first and last name, and then you add mappings for these in the SAML configuration, the missing information isn't populated when the user logs in the next time.

Steps To Reproduce

  1. Create a test SAML configuration.
  2. Ensure that there is no name being pulled from the IDP into the user profile when logging in by ensuring the IDP profile doesn't have the user name set.
  3. Update the attribute mapping or IDP profile so that the users first and last name are present and should be pulled in when the user logs in.
  4. Log out and log back in. The name information won't be present in the user profile.

Expected behavior

The missing name information should be updated into the name field of the existing user profile.

Screenshots

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions