Questions tagged [python-openid]

OpenID framework for Python

Questions tagged with python-openid are related to OpenID and its implementation as an OpenID provider (OP) as well as a Relying Party (RP) in python-based web-services.

In laymans terms: You can use one OpenID-Server or OP to provide a simple authentication (not authorization) mechanism for multiple other sites, the RPs (formerly called consumers).

10 questions
4
votes
2 answers

Errors with python-openid and Google Apps Federated Login

UPDATE I managed to get it working although I'm not quite sure why ;) It seems like python-openid uses a POST-request to issue the openid mode=associate and for some reason Google doesn't like that. When I patched python-openid to use a GET-request…
Markus Olsson
  • 22,402
  • 9
  • 55
  • 62
3
votes
1 answer

openid in pylons (not using authkit)

So I'm trying to authenticate users on a Pylons web application using openid. I don't want to use authkit, seeing as it is no longer maintained. I'm currently trying to use python-openid (available from git at http://github.com/openid/python-openid)…
pariser
  • 275
  • 3
  • 10
2
votes
0 answers

Alternative for python-daemon on Windows

I'm trying to use a python library (python_openid) which depends upon python-daemon. The latter does not appear to work on Windows. What alternatives have I got (short of installing Linux)?
Mat
  • 82,161
  • 34
  • 89
  • 109
2
votes
1 answer

Yahoo! OpenID doesn't include Attribute Exchange info (using python-openid)

I'm using python-openid to successfully connect my python based site with OpenID. It works great with Google and it works with Yahoo! but with Yahoo! the Attribute Exchange doesn't seem to work. I only ever get the email address. firstname, lastname…
Peter Bengtsson
  • 7,235
  • 8
  • 44
  • 53
1
vote
1 answer

Reliable method of getting username or realname from OpenID

The site I am developing supports sign-in with the default SimpleOpenIDSelector providers (the same providers that are listed on stackoverflow login page). While it works for simple sign-ins, my AX-required requests remain unfulfilled. For example,…
evgeny
  • 2,564
  • 17
  • 27
1
vote
1 answer

FailureResponse on otherwise successful OpenID login: Server denied check_authentication

I'm testing OpenID authentication using python-openid on webpy's development web server. Through Yahoo! and myOpenID, I keep getting a failure response with the message Server denied check_authentication. The strange part is, I also receive the…
Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62
1
vote
2 answers

python-social-auth with Django: ImportError: No module named 'openid.association'

I am trying to use python-social-auth with Django 1.9 and Python 3. As far as I can tell, I have installed all the necessary requirements, and have all the required settings in my settings.py. However, when I try to run migrations, or run the Django…
elethan
  • 16,408
  • 8
  • 64
  • 87
1
vote
2 answers

Problems with Flask-openid in Python 3

I am trying to get Flask-openid working, but keep hitting this error when trying to log in ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. It happens when using…
bltpyro
  • 320
  • 3
  • 13
0
votes
2 answers

mozilla-django-oidc issue with Azure AD B2C

I am trying to configure the "mozilla-django-oidc" package in Django. To authenticate I use Azure Active Directory B2C policy, so this is my federation server. When I click in the login button I got this URL which looks wrong to me, I will split it,…
MarcosF8
  • 1,848
  • 5
  • 19
  • 33
0
votes
1 answer

Import error with python-openid in django

I have a problem with using python-openid in my django project. If import anything from openid module I receive an exception in a runtime. Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 1.4 Python Version:…