Ticket #22 (closed enhancement: fixed)

Opened 11 months ago

Last modified 9 months ago

Offer help with sreg + 3 AX type URI format interop

Reported by: http://blog.nerdbank.net/ Owned by: http://blog.nerdbank.net/
Priority: major Milestone: v3.2 RTW
Component: OpenID Version:
Keywords: rp op Cc:

Description (last modified by http://blog.nerdbank.net/) (diff)

RPs currently have an awful task of having to do the grunt work of deciding whether to send an Sreg or an AX request for attributes, and which of the 3 AX attribute Type URI formats to use for a particular OP. DotNetOpenAuth should offer help in this area.

OPs could use some help as well, as they might receive any of four types (Sreg + 3 AX) of attribute requests.

The design of the solution will center on Sreg. A plug-in OpenID "behavior" class will make all attribute extensions and formats look like Sreg at the host level, but underneath it will play all tricks possible to make sure the extension is wire compatible with the remote party.

This will automatically make OpenIdTextBox and the other controls Just Work with various OPs if the behavior is turned on because they use Sreg, which will automatically be changed to AX for the OPs that may need it.

Change History

Changed 9 months ago by http://blog.nerdbank.net/

One way to implement this that would also benefit MVC sites is to have an extension method that spreads the AX well-known attributes to include the myopenid-style attributes and the sreg ones. Then another method to consolidate the many forms into one, so that host sites just have one consistent format to deal with.

Changed 9 months ago by http://blog.nerdbank.net/

  • keywords rp op added
  • priority changed from minor to major
  • status changed from new to accepted
  • description modified (diff)
  • summary changed from Enhanced OpenIdTextBox's sreg helpers to support AX as well to Offer help with sreg + 3 AX type URI format interop

Feature complete... just writing a few more tests.

Changed 9 months ago by http://blog.nerdbank.net/

  • description modified (diff)

Changed 9 months ago by http://blog.nerdbank.net/

  • status changed from accepted to closed
  • resolution set to fixed

master 79b2adcec5

Note: See TracTickets for help on using tickets.