plan to test this (osso provider and relying) on D7 and expect it to fail, and then will try to upgrade it...

any thoughts? ideas ? info ?

Comments

xamanu’s picture

Title: D7? info? plans? ideas? » Drupal 7 port

First of all we'd need OpenID Provider ported to Drupal 7 (#983128: Drupal 7 port of OpenID Provider), then OpenID Provider AX and OpenID Relying AX. After that we can think about this module here.

niccolox’s picture

Drupal Gardens has D7 client/consumer/relying sites with a D6 OpenID Provider
http://drupal.org/node/983128#comment-4589286
http://drupal.org/node/983128#comment-4601076

could that scenario work with Omniauth?

upgrade the osso relying modules first ?

xamanu’s picture

You are right - good point. So the order of necessary ports is:

* OpenID Relying AX
* OpenID Profile
* OpenID Relying SSO (here)

With these three modules ported we could have a D6 OpenID SSO provider and D7 relying parties working nicely.

niccolox’s picture

Status: Active » Postponed
Issue tags: +OpenID, +single signon, +omniauth

right, so what would drive those ports upstream is the usefulness of an OpenID single signon, i.e. Omniauth

niccolox’s picture

btw, what is this project http://drupal.org/project/openid_relying_ax ? its in the table of documentation and on this page?

xamanu’s picture

I meant Openid Client AX :-) Sorry for that.

niccolox’s picture

now that wojtha is the new maintainer for openid, I wonder if we could rally some enthusiasm for the OpenID Omnia approach ?

maybe Aegir folks, OpenID... bring in OAuth too voxpelli ? NodeOne (heyrocker now works there) might be keen, some of the Aegir shops maybe too ?

xamanu’s picture

Version: » 7.x-1.x-dev
Assigned: Unassigned » xamanu
Status: Postponed » Needs work

I just started a new branch for 7.x-1.x which has a first but not yet recommendable version for Drupal 7 version of this module.

niccolox’s picture

big +1 ;>

paranojik’s picture

I'm also working on a port here.

halcyonCorsair’s picture

subscribing.

niccolox’s picture

just tried the latest D7 relying with a working D6 provider and get this error when trying to login as an existing user or after creating a new user

Account registration using the information provided by your OpenID provider failed due to the reasons listed below. Complete the registration by filling out the form below. If you already have an account, you can log in now and add your OpenID under "My account".
Error message
The e-mail address testd77@testd77 is not valid.

cheers

-N

niccolox’s picture

@paranojik re#10 tried sandboxed module and got these errors

Account registration using the information provided by your OpenID provider failed due to the reasons listed below. Complete the registration by filling out the form below. If you already have an account, you can log in now and add your OpenID under "My account".

is it actually possible to test this D7 port without the Open ID AX and Profile modules?

btw, could those modules be moved inside the OpenID SSO module? kind of like Deploy or Domain do it ? would make for a more consistent user experience

xamanu’s picture

Status: Needs work » Needs review

I just pushed an update to the drupal 7 port. This works nicely for me. Please test.

@niccolo: Of course you can test OpenID SSO without the AX and openid_profile modules. These are only necessary for attribute exchange between the parties, but not for the general login/logout functionality.

niccolox’s picture

thanks, testing now the D7 minimal set-up

For some reason I thought email and username where the minimum attributes to be exchanged...

testing.. cheers -N

niccolox’s picture

that works for me.

also, seen this ? compare & merge ? http://drupal.org/sandbox/paranojik/1232190 and http://drupal.org/node/1251414

niccolox’s picture

actually just realized it doesn't do the redirect to relying after creating an account or logging in... is that still to do ?

also, doesn't have the login button element replacing the login dialog block, I guess another still to do... caching eventually displayed button, but in Opera not getting redirected from /user .. will test more

anyway, still a milestone, so great, thanks

niccolox’s picture

damn, embarrasing, it works, I think.

was having web server caching madness

still other eyes reviewing this would be good...

niccolox’s picture

just checked again, after allowing the nginx's aggressive caching to catch-up with the new sites

very happy to say it works very well...

awesome

niccolox’s picture

Status: Needs review » Closed (works as designed)
xamanu’s picture

Status: Closed (works as designed) » Fixed

Please mark as fixed then :-)

niccolox’s picture

do I dare, fixed

Automatically closed -- issue fixed for 2 weeks with no activity.