fix(enumeration): Document corner case with required password and OAuth#3368
fix(enumeration): Document corner case with required password and OAuth#3368dmoerner wants to merge 6 commits into
Conversation
Document a known corner case where instances with password required can still have accounts without passwords if the accounts were created from an OAuth sign up. Since we cannot reveal that an account exists without a password, users who try to sign in with the email on their OAuth account can try to enter a password, and it will be rejected as if it's a bad password. They should try another method, which our components are designed to allow.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I've posted a docs review that updates the copy to make it a bit more clear on the situation that can happen, such as explicitly stating that this only occurs if the user tries signing in with the email on their OAuth account. however, I'd like @manovotny opinion on how we should frame this! |
|
Thanks, Alexis! I'm also looking into a backend change that will allow C1s to toggle the default authentication response on the AIO component, which could help smooth this out, and which we would also want to document here. |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alexisintech I like your docs review commit. Definitely heading in the right direction. I just broke up the paragraph a bit more. I also think adding a bit more context around triggers and prebuilt-components could help. I pushed those changes directly in e0141d2.
It sounds like a lot, but it's not when you view the changes. Let me know what you think. |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔎 Previews:
What does this solve? What changed?
While trying to debug an unrelated issue for Venice.ai, we realized their custom components produce a confusing flow for users who sign up with a social provider but then try to use their email to sign in.
Document a known corner case where instances with password required can still have accounts without passwords if the accounts were created from an OAuth sign up. Since we cannot reveal that an account exists without a password, users who try to sign in with the email on their OAuth account can try to enter a password, and it will be rejected as if it's a bad password. They should try another method, which our components are designed to allow.
Frankly the UX here is kind of bad no matter what, this is one of the frictions that we just need to document I think.
Deadline
No rush
Other resources
https://clerkinc.slack.com/archives/C0849EDL529/p1778700671865669