django-openid-auth

django_openid_auth TypeError openid.yadis.manager.YadisServiceManager object is not JSON serializable

你离开我真会死。 提交于 2019-12-12 10:47:15
问题 I used django_openid_auth on my project and it worked quite alright for some time. But today, I tested the application and came across this exception: Environment: Request Method: GET Request URL: http://localhost:7777/google/login/ Django Version: 1.6 Python Version: 2.7.3 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'meet',

Google apps login in django

痴心易碎 提交于 2019-11-28 05:33:59
I'm developing a django app that integrates with google apps. I'd like to let the users login with their google apps accounts (accounts in google hosted domains, not google accounts ) so they can access their docs, calendar, and whatnot. In order to do it, I downloaded and started using django_openid_auth (and thus, python-openid). First, to test it, I used this url in my settings: OPENID_SSO_SERVER_URL = 'https://www.google.com/accounts/o8/id' And with that I managed to redirect the user to the google accounts page to login and then to return to my own domain, with the authentication cycle

What is the “openid” url of facebook?

為{幸葍}努か 提交于 2019-11-27 21:09:59
问题 I made my openid in my site like this: livejournal: { name: 'LiveJournal', label: 'Enter your Livejournal username.', url: 'http://{username}.livejournal.com/' }, wordpress: { name: 'Wordpress', label: 'Enter your Wordpress.com username.', url: 'http://{username}.wordpress.com/' }, blogger: { name: 'Blogger', label: 'Your Blogger account', url: 'http://{username}.blogspot.com/' }, And I want to add facebook as my openid provider, so, what is the url of facebook openid ? This site allows login

Google apps login in django

五迷三道 提交于 2019-11-27 00:58:16
问题 I'm developing a django app that integrates with google apps. I'd like to let the users login with their google apps accounts (accounts in google hosted domains, not google accounts ) so they can access their docs, calendar, and whatnot. In order to do it, I downloaded and started using django_openid_auth (and thus, python-openid). First, to test it, I used this url in my settings: OPENID_SSO_SERVER_URL = 'https://www.google.com/accounts/o8/id' And with that I managed to redirect the user to