Social login
Only auto-link a social login to an existing user when the provider says the email is verified — otherwise you hand attackers a free account takeover.
What this skill helps you build
Let users sign in with Google or GitHub, handle the OAuth callback, and link to an existing account only through a provider-verified email.
The production takeaway
Only auto-link a social login to an existing user when the provider says the email is verified — otherwise you hand attackers a free account takeover.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.