반응형 카카오1 django에서 kakao 로그인 api 사용하기 +(allauth 사용) 일단 어느 정도 구현했으니 카카오 로그인 기능도 추가하고 싶었습니다. 완성된 페이지를 보여드리겠습니다. 이런 식으로 구현했습니다. pip install django-allauth 일단 allauth를 깔아줍시다. INSTALLED_APPS = [ ... 'allauth', 'allauth.account', 'allauth.socialaccount', # ... include the providers you want to enable: 'allauth.socialaccount.providers.auth0', 'allauth.socialaccount.providers.kakao', ... ] LOGIN_REDIRECT_URL = 'home' # 로그인 후 리디렉션할 페이지 ACCOUNT_LOGOUT_REDI.. 2020. 8. 19. 이전 1 다음 반응형