Closed (won't fix)
Project:
OpenID
Version:
master
Component:
OpenID Client
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 May 2008 at 14:27 UTC
Updated:
17 Mar 2009 at 21:05 UTC
I ve added the attribute exchange implementation to the openid.module for client side as a part of my SoC project, OpenID Attribute Exchange implementation.
If the discovered types has ax implementation then only are the ax namespace attributes added to the openid redirect form.
The discovered information stored in the session is used to determine whether the OP supports AX or not.
| Comment | File | Size | Author |
|---|---|---|---|
| openid.module_ax_client.patch | 1.13 KB | anshuprateek |
Comments
Comment #1
boris mann commentedThis shouldn't be implemented as part of openid module directly. I assume you are targeting D6? In D6, openid is in core, and you are unlikely to get a core patch in of this complexity.
This should extend openid module and be called something like openid_ax.module. I would recommend creating a separate project for it and working on it there.
Comment #2
anshuprateek commentedHi Boris,
I have created a separate project openid_ax but I plan to use that for server side implementaion of AX. Putting the client side implementation into openid_ax would make it optional. As of now, if we implement a drupal OP and RP set, a new user registration on RP using openid from OP fails coz the Drupal OP doesnt provide sreg info for the username and email. The client side AX implementation will take care of that. Though will talk to my mentors and work accordingly.
Thanks and regards.
Anshu Prateek
http://drupal.org/project/openid_ax
http://groups.drupal.org/node/10902
Comment #3
jose reyero commentedHi Anshu,
I have to agree with Boris here. D6 core modules are not open to new features, so this should be in a contrib module. Not so for D7, for which new features are still possible.
If this *needs* to be implemented into OpenID module, you still have the option of providing an extended version of openid core module as a replacement.
So I think we should be working on D6 contrib for now, and maybe later roll out a patch for D7 core.
Comment #4
anshuprateek commentedHi Jose!
Yes, I had a chat with walkah sometime back where he said the preferred way should be doing it without touching either openid or openid_provider. In the meanwhile, walkah said about fishing up some hooks in openid.module for 6.3 or later so those could be used by the extensions.
Comment #5
anarcat commentedSee the openid_ax module.