GitHub user dosubot[bot] added a comment to the discussion: Duplicate Email 
Error When Logging in via SSO After Manual User

<!-- Answer -->
To resolve the duplicate email error in Superset when logging in via SSO after 
manually creating a user with the same email, you need to ensure that the email 
is unique in the system. You can do this by either:

1. Deleting the manually created user with the duplicate email.
2. Updating the email of the manually created user to a unique one.

This will prevent the duplicate key error related to `ab_user_email_key` when 
logging in via SSO 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/users/UserListModal.tsx)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/e72ef216-e90e-4f0d-9507-298875f4cc4b?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33427#discussioncomment-13142949

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to