Current Drupal OpenID implementation supports only SREG for requesting/receiving credential from OpenID provider. This patch adds AX support as well. In practice this means that now Drupal OpenID authentication requests email from Google, when it is used as OpenID provider.

This patch is for Drupal 6.x. I'll prepare patch with the same feature for D7 (if not implemented yet) little later.

Comments

vgarvardt’s picture

StatusFileSize
new5.76 KB

Sorry, invalid patch from Mercurial diff. Here is updated patch

damien tournoud’s picture

Version: 6.x-dev » 7.x-dev
Status: Needs review » Patch (to be ported)

Awesome, thanks for the patch, but this has to be considered first for D7, before being eventually backported.

vgarvardt’s picture

I already created same patch for D7 OpenID version - #634562: OpenID AX support

vgarvardt’s picture

Version: 7.x-dev » 6.x-dev
Status: Patch (to be ported) » Needs review
StatusFileSize
new5.29 KB

Here is D6 patch backport from D7 patch that passed all tests.

vgarvardt’s picture

StatusFileSize
new5.62 KB

Updated patch that applies to D 6.15

RikaWatanabe’s picture

That no longer works with Google in particular because they changed their discovery protocol slightly: #727650: Support Google-specific OpenID discovery protocol

Is there a chance for an update to this patch?

damien tournoud’s picture

Status: Needs review » Closed (duplicate)

This is a duplicate of #634562: OpenID AX support.

tuffnatty’s picture

#6: It works for me.

petey318’s picture

I know this has been marked as a duplicate, but will this patch be rolled into D6? we are currently at d6.17 but still the core openid module does not appear to support AX with google.

The duplicate ( #634562: OpenID AX support ) actually refers to D7 btw...

vgarvardt’s picture

If you are interested in the AX support for D6 - see #634562: OpenID AX support, latest backported patches will be posted there.