cachability of delegated identity URLs

Brad Fitzpatrick brad at
Wed Jun 8 17:02:25 PDT 2005


Continuing the discussion of <link rel='openid.delegate' ...>  Previously
I'd said there's no reason for the real identity (say, to go across the wire, since the consumer could just
see the delegated identity and work with that.

The problem is that on the return path, when the UA is redirected to,, then identity= field being asserted would be
the delegated one, say: and the
app would have no clue how to map that back to the identity the user typed
in (

The ugly solution is for consumers to put it in their return_to URL, and
have it outside the openid spec.  (or set it in that user's anonymous
session already created on  However, as it's something each
and every consumer would have to do in their own way, that's where I draw
that line at saying it should be part of the spec and given an "openid."

So how about:

      openid.mode = "checkid_immediate"
      openid.identity =
      openid.delegated_id =

So then servers supporting delegation check first identity and second the
delegated id for matching.

But then it's openid.identity= that's sent back in the
id_res mode response, so consumers can actually go refetch that identity
URL (from cache probably), find the openid.server link rel, and check if
they have an association, verify the sig, etc.


- Brad

More information about the yadis mailing list