[OpenID] When a parameter is optional, can the key still be there?

Andrew Arnott andrewarnott at gmail.com
Thu May 29 14:31:24 UTC 2008


I noticed a behavior of an older OpenId library I'm trying to interop with, and wondered if its behavior was considered inline with the spec or not.  I think the spec is vague in this area...

It gives openid.trust_root on the querystring, but leaves the value empty.  trust_root is optional, but so far it seems everyone has interpreted that as "if you don't intend to include a value, don't include the key."  But this particular library does include the key and an empty string for a value.  Is this ok?  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20080529/1b67165c/attachment-0002.htm>


More information about the general mailing list