🔐 OAuth Flow Test

Gerçek OAuth Authentication - Django REST API

✨ Nasıl Çalışır?

Butona tıkladığınızda GitHub veya Google'ın kendi sayfasına yönlendirileceksiniz. Orada giriş yapıp izin verdikten sonra, otomatik olarak geri dönecek ve JWT token'larınız gösterilecek!

🔵 Login with Google
VEYA
Login with GitHub

⚠️ GitHub OAuth App Ayarları

GitHub OAuth çalışması için callback URL'ini ayarlamalısınız:

  1. Git: GitHub Settings → OAuth Apps
  2. OAuth App'inizi bulun veya yeni oluşturun
  3. Authorization callback URL: http://localhost:8000/api/v1/social/complete/github/
  4. Kaydet

⚠️ Google OAuth App Ayarları

  1. Git: Google Cloud Console
  2. OAuth 2.0 Client ID'nizi düzenleyin
  3. Authorized redirect URIs: http://localhost:8000/api/v1/social/complete/google-oauth2/
  4. Authorized JavaScript origins: http://localhost:8000
  5. Kaydet