From d4c928ca72dcae65cfd4b072b3c8a8aea06cd8dd Mon Sep 17 00:00:00 2001 From: Joel Lee Date: Wed, 11 Dec 2024 16:53:08 +0800 Subject: [PATCH] fix: add frequently asked questions to auth identity linking docs (#31016) * fix: add frequently asked questions to auth identity linking docs * fix: title case Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: update auth linking * Update apps/docs/content/guides/auth/auth-identity-linking.mdx * fix: more docs formatting --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../docs/content/guides/auth/auth-identity-linking.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/docs/content/guides/auth/auth-identity-linking.mdx b/apps/docs/content/guides/auth/auth-identity-linking.mdx index ef12b12a45b..36c6dffcfd3 100644 --- a/apps/docs/content/guides/auth/auth-identity-linking.mdx +++ b/apps/docs/content/guides/auth/auth-identity-linking.mdx @@ -172,3 +172,13 @@ if google_identity: + +## Frequently asked questions + +### How to add email/password login to an OAuth account? + +Call the `updateUser({ password: 'validpassword'})` to add email with password authentication to an account created with an OAuth provider (Google, GitHub, etc.). + +### Can you sign up with email if already using OAuth? + +If you try to create an email account after previously signing up with OAuth using the same email, you'll receive an obfuscated user response with no verification email sent. This prevents user enumeration attacks.