-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Epic] Improve handling for user name null cases and syncs #22754
Labels
Milestone
Comments
adam-james-v
added
.Epic
Feature Implementation or Project
Administration/Auth/SSO
Enterprise SSO like SAML and JWT
labels
May 16, 2022
This was referenced Jun 14, 2022
This was referenced Nov 25, 2022
This was referenced Dec 5, 2022
Merged
Merged
This was referenced Jul 28, 2023
This was referenced Oct 30, 2023
1 task
This was referenced Jan 11, 2024
This was referenced May 8, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
There are some important gaps in how we handle SSO login names at the moment. This project aims to tackle two semi-related issues:
Unknown
in these cases. This causes weird cases in the product where we refer to people by their first name.This project will fix the syncing bug and improve the implementation and UI regarding first and last names.
Links
Implementation Plan
The linked issues can be handled independently, even though they are related. So, we'll tackle each as a separate milestone.
Milestone 1: Proper user name sync
This milestone is backend only
Milestone 2: Better Handling for unknown user names
backend:
nil
first and last names in backend:common_name
frontend:
null
user names need to be handled.user.common_name
user.first_name
user.last_name
user.getName()
null
user name. And use user email in places that require value.user.common_name
user.first_name
user.last_name
user.getName()
Milestone 3: Relax first/last name requirements on manual account creation
We should relax naming requirements in general. If we allow
nil
appropriately on the backend, this may be a frontend only milestone.metabase/frontend/src/metabase-types/api/user.ts
Lines 5 to 6 in 9f41e1d
metabase/frontend/src/metabase/entities/users/forms.js
Lines 16 to 22 in 9f41e1d
change the LDAP enterprise enhancement impl to re-use the JWT/SAML— to be completed in Better handling for SSO users without first or last names #16158fetch-and-update-user!
functionHow to Test This Feature Out
Follow the instruction here https://www.notion.so/metabase/Improve-handling-for-user-name-null-cases-and-syncs-9b6b3f93500c42d4b3dd019e7389e865
The text was updated successfully, but these errors were encountered: