๐Ÿ“– Step 6: Development#446 / 498

OAuth

OAuth 2.0 / Social Login

๐Ÿ“–One-line summary

An authorization standard for signing in or granting access with an external account like Google, without sharing passwords.

โœจExample

// OAuth (OAuth 2.0 / Social Login)

๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ๋„˜๊ธฐ์ง€ ์•Š๊ณ  ๊ตฌ๊ธ€ยท์นด์นด์˜ค ๊ฐ™์€ ์™ธ๋ถ€ ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธํ•˜๊ฑฐ๋‚˜ ๊ถŒํ•œ์„ ์œ„์ž„๋ฐ›๋Š” ์ธ์ฆ ํ‘œ์ค€

> ready_

โšกVibe coding prompt examples

>_

Add Google and Kakao social login to Next.js with Supabase Auth, including redirect URL setup and saving the profile after login.

>_

Draw the OAuth login flow (authorization code โ†’ token exchange โ†’ user info) as a Mermaid sequence diagram.

>_

Social login fails with 'redirect_uri_mismatch'. List which settings to check for each provider.

Try these prompts in your AI coding assistant!