v0.0.27 | Google 소셜 로그인 기능 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 2m12s
All checks were successful
Build And Test / build-and-push (push) Successful in 2m12s
- Google ID Token 검증 및 로그인/회원가입 기능 - 기존 계정 연동 기능 (비밀번호 확인 후 연동) - 프로필에서 Google 연동/해제 기능 - CustomUser 모델에 social_provider, social_id, profile_image 필드 추가 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
28
users/migrations/0013_add_social_login_fields.py
Normal file
28
users/migrations/0013_add_social_login_fields.py
Normal file
@ -0,0 +1,28 @@
|
||||
# Generated by Django 4.2.14 on 2026-01-18 07:07
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0012_add_kvm_server'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='customuser',
|
||||
name='profile_image',
|
||||
field=models.URLField(blank=True, max_length=500, null=True, verbose_name='프로필 이미지 URL'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='customuser',
|
||||
name='social_id',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='소셜 고유 ID'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='customuser',
|
||||
name='social_provider',
|
||||
field=models.CharField(blank=True, max_length=20, null=True, verbose_name='소셜 로그인 제공자'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user