Verify Google Apps domain users #39

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
8 participants

Applied patch from https://github.com/adieu/python-openid/ to add ability to authenticate hosted Google Apps users.

Google Apps domains typically return a claimed id of the form "http://example.com/openid?id=1234567890". However, the server url is "https://www.google.com/a/example.com/o8/ud?be=o8". This causes verification of the id to fail.

Therefore, this patch adds an override for open id endpoints with a server url starting with "...google.com/a/" that will correctly verify the google ids.

@mpdaugherty mpdaugherty Update to accept openid requests from Google Apps domains, which are …
…unusual because the claimed id is a url for the hosted domain, but the identification is actually hosted on Google.
67e55b8

Was this merged yet?

jaap3 commented Oct 15, 2012

Would love if this was merged and released on PyPI

Please merge! This patch is essential for Google Apps.

natea commented Jan 7, 2013

Yes, please merge!

Bouke commented Feb 7, 2013

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment