[OpenID] Scheme in OP-Local ID

Johnny Bufu johnny at sxip.com
Thu Sep 6 20:16:07 UTC 2007


On 6-Sep-07, at 12:56 PM, Peter Williams wrote:

>> The claimed_id has only one form - the normalized one.
>
> [Peter Williams] if the claimed_id that comes back in check_id  
> response
> is not octet-identical to the normalized user input value (in the
> solicited auth flow of OpenID Auth), shall one perform a new round of
> discovery in the check_id resp verification logic (both dumb and
> intelligent varieties)?

(Assuming you meant id_res response).

Yes: if the asserted claimed_id is different than what was discovered  
starting from the user input, then the assertion is about a different  
identifier and must be treated as such (discovery on the new  
claimed_id, verification against assertion data, etc.)

> I'd expect the result of discovery performed against this  
> claimed_id to
> identify amongst its HTML/XRDS OPs the exact URL of the OP selected
> earlier from the discovery against the normalized user input value.

What has been discovered earlier has no relevance since the assertion  
is about a different identifier. Assertion data must be compared with  
the data discovered from the claimed_id in the assertion, not the set  
discovered from the initial user-input.

> We cannot make the assumption that XRDS metadata for normalized user
> input URL will be identical with the XRDS metadata for the  
> claimed_id in
> the check_id response

That's the equivalent of saying "we cannot make the assumption that  
verification of discovered information will succeed all the time,  
even when the XRDS discovery data is wrong or the OP issues bad  
assertions".

(With that said, in the case of URLs the calimed_id is not taken from  
the XRDS).


Johnny




More information about the general mailing list