| Django-Appengine-auth. Google App Engine OAuth ¿£µå Æ÷ÀÎÆ®¸¦À§ÇÑ ¹é¿£µå°¡ÀÖ´Â Django-social-authÀÇ È®Àå ÇÁ·Î±×·¥ |
Áö±Ý ´Ù¿î·Îµå |
Django-Appengine-auth. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Marc Hoersken
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/mback2k/
Django-Appengine-auth. ű×
Django-Appengine-auth. ¼³¸í
Django-Appengine-Auth´Â Google App Engine ±â¹Ý Google °èÁ¤¿¡ OAuth ¹é¿£µå¸¦ Ãß°¡ÇÏ´Â Django-Social-AuthÀÇ È®ÀåÀÔ´Ï´Ù.ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥Àº [±âº»ÀûÀ¸·Î HTTPS¿¡¼ È£½ºÆõǴ ±âº»°ª ÀÎ Google App Engine OAuth Profile ¿£µå Æ÷ÀÎÆ® ÀÀ¿ë ÇÁ·Î±×·¥À» »ç¿ëÇÕ´Ï´Ù. / /oauth-profile.appspot.com/installationyou´Â GitHub ¼öµ¿À¸·Î ÃֽŠ¹öÀüÀ» ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù : git clone https://github.com/mback2k/django-appengine-auth.git cd django-appengine-auth python setup.py installor via PIP : PIP ¼³Ä¡ https://github.com/mback2k/django-appengine-auth/zipball/masterconfiguration`installed_apps` : installed_apps + = ( 'social_auth', 'appengine_auth', 'social_auth', 'appengine_auth')¸¦ Ãß°¡ÇϽʽÿÀ. ÀÎÁõ ¹é¿£µå ': Authentication_Backends + = ('appengine_auth.backends.googleappengineoauthackend ',) Ãß°¡ ¼³Á¤Àº ´ÙÀ½ ¼³Á¤À»`settings.py` : # tosons.py` : # oauth ¹× À¥ ¼ºñ½º ³¡Á¡ÀÇ # hostname google_appengine_oauth_server ='oauth-profile. appspot.com '# Á¤ÀûÀ» »ç¿ëÇϽʽÿÀ °íÀ¯ ÇÑ Google App Engine »ç¿ëÀÚÀÇ USER_ID ½Äº°ÀÚ # ±âº»°ªÀº »ç¿ëÀÚÀÇ À̸ÞÀÏ ÁÖ¼Ò¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. Google_AppEngine_OAUTH_USE_UNIQUE_USER_ID = TRUE # Google OAuth Consumer Key ¹× Secret Google_appengine_consumer_key = '' 'Google_AppEngine_consumer_secret =' 'À» ÂüÁ¶ÇϽʽÿÀ. Django-Social-Auth ¹®¼¸¦ ÂüÁ¶ÇϽʽÿÀ. Ãß°¡ Á¤º¸¸¦ À§ÇØ .productÀÇ È¨ÆäÀÌÁö
Django-Appengine-auth. °ü·Ã ¼ÒÇÁÆ®¿þ¾î