https://www.pythoneatstail.com/en/overview-all-articles/social-accounts-login-using-allauth/
Social account signup and login with allauth in Django - PythonEa
The default behavior of the social account signup is that allauth tries to log the user in after the connection to the social account has been made. This is something you may not want, when you want the user to fill in some required fields that the social
www.pythoneatstail.com
STATICFILES_DIRS = [
os.path.join(PROJECT_DIR, 'static'),
os.path.join(BASE_DIR, 'userauth/static/userauth/'),
]
Static File 위치 추가
SOCIALACCOUNT_AUTO_SIGNUP = False
Social 로그인 이후에 바로 가입 방지 (추가 정보 필요할 때 사용한다.)
'Back-End > PythonEatsTail' 카테고리의 다른 글
07 Allowing users to update and delete their profile in Django (0) | 2021.12.09 |
---|---|
06 Signup and password reset with allauth in Django (0) | 2021.12.09 |
05 Git and local settings in Django (0) | 2021.12.08 |
04 Setting up validated login with allauth in Django (0) | 2021.12.08 |
03 Setting up allauth in Django (0) | 2021.12.08 |