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>
This commit is contained in:
Joel Leeandgithub-actions[bot] authored and GitHub committed 2024-12-11 16:53:08 +08:00
1 parent dd6f87b756
commit d4c928ca72
1 file changed
+10
@@ -172,3 +172,13 @@ if google_identity:
</TabPanel>
</Tabs>
## 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.