django-socialauth

social-auth-app-django facebook backend state with redirect_uri

杀马特。学长 韩版系。学妹 提交于 2021-01-27 12:24:42
问题 I know my question sounds like a duplicate, but I've looked everywhere without finding any solution. I am working on implementing social logins for my django webapp. So far google, twitter and yahoo logins have worked as expected. But facebook always gives the error below: URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect

OAuth Callback URL incompatible with nginx proxy server behavior

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-31 09:47:09
问题 I have spent a good part of the last 3 days trying every solution that is on the internet and feeling desperate. Here's the problem statement: I have a Dockerized app with three services: A django application with gunicorn ( web ) A Nginx server ( nginx ) PostgreSQL ( db ) My web application requires user to log in with their GitHub account through a fairly standard OAuth process. This has always worked without nginx . User clicks on the "log in with github" button, sent them to GitHub to

django rest framework social-auth with jwt

最后都变了- 提交于 2020-07-05 04:52:29
问题 hi im working on SPA django rest framework with jwt and angular 5 . i built login and sign up section. now im looking for a way to add social login or register to my app and have jwt support after deep search i found some module that have very unclear document(atleast to me).. this module https://github.com/st4lk/django-rest-social-auth looks ok he said use: /api/login/social/jwt_user/ and: /api/login/social/jwt/ are end point for jwt but this get me nothing when i'm using them.. we had some

django rest framework social-auth with jwt

吃可爱长大的小学妹 提交于 2020-07-05 04:52:16
问题 hi im working on SPA django rest framework with jwt and angular 5 . i built login and sign up section. now im looking for a way to add social login or register to my app and have jwt support after deep search i found some module that have very unclear document(atleast to me).. this module https://github.com/st4lk/django-rest-social-auth looks ok he said use: /api/login/social/jwt_user/ and: /api/login/social/jwt/ are end point for jwt but this get me nothing when i'm using them.. we had some

Python-Social-Auth fails with mongoEngine (Django)

谁说胖子不能爱 提交于 2020-02-05 07:53:09
问题 I try to make python-social-auth work with mongodb . I follow the instructions here that say to add: INSTALLED_APPS = ( ... 'social.apps.django_app.me', ... ) and SOCIAL_AUTH_STORAGE = 'social.apps.django_app.me.models.DjangoStorage' However something goes wrong and I get an ImportError: Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x101c51d50>> Traceback (most recent call last): File "

python-social-auth and facebook login: what is the whitelist redirect url to include in fb configuration?

自作多情 提交于 2020-01-25 16:35:27
问题 I was getting this facebook login error: URL Blocked This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs. Facebook login requires whitelisting of the call-back url. what is the call back url for django-social-auth or python-social-auth ? 回答1: include a url to your website that is the absolute url version of this relative url: /complete/facebook

python-social-auth and facebook login: what is the whitelist redirect url to include in fb configuration?

白昼怎懂夜的黑 提交于 2020-01-25 16:34:11
问题 I was getting this facebook login error: URL Blocked This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs. Facebook login requires whitelisting of the call-back url. what is the call back url for django-social-auth or python-social-auth ? 回答1: include a url to your website that is the absolute url version of this relative url: /complete/facebook

Login via google and facebook using django-social-auth

≡放荡痞女 提交于 2020-01-17 13:41:10
问题 I am trying to integrate django-social-auth on my django app which is running on google app engine. I am trying to implement google-oauth2 and facebook oauth login using django-social-auth. SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '377490210257-****' SOCIAL_AUTH_GOOGLE_OAUTH2_CLIENT_SECRET = '***********' SOCIAL_AUTH_FACEBOOK_APP_ID = '******' SOCIAL_AUTH_FACEBOOK_SECRET = 'xxxx' AUTHENTICATION_BACKENDS = ( 'social_auth.backends.facebook.FacebookBackend', 'social_auth.backends.google

django social auth with custom user model is not working

岁酱吖の 提交于 2020-01-13 19:34:09
问题 i am trying to implement django social auth in my project and i am having trouble integrating it with my custom user model. Whenever i try to login to facebook, it is throwing an error and always re-directing to LOGIN_ERROR_URL Page. My settings.py file looks like below. FACEBOOK_APP_ID = 'xxxxx' FACEBOOK_API_SECRET = 'xxxxx' AUTHENTICATION_BACKENDS = ( 'social_auth.backends.facebook.FacebookBackend', 'django.contrib.auth.backends.ModelBackend', ) SOCIAL_AUTH_PIPELINE = ( 'social_auth

Url namespace not being registered for python social auth

允我心安 提交于 2020-01-06 14:47:17
问题 I have a legacy application using django 1.4.2 and python-social-auth. I have the app installed INSTALLED_APPS = ( ... 'social.apps.django_app.default', ... ) The backends: AUTHENTICATION_BACKENDS = ( 'social.backends.facebook.FacebookAppOAuth2', 'social.backends.facebook.FacebookOAuth2', 'social.backends.google.GoogleOAuth', 'social.backends.google.GoogleOAuth2', 'social.backends.google.GoogleOpenId', 'django.contrib.auth.backends.ModelBackend', ) More settings... SOCIAL_AUTH_FACEBOOK_ID = '