Hi Allen,

That can be done, but there are a few things to be considered as well.

1) Association is a rather expensive operation. We might not want to do it
with
    every authentication request.
2) Breno wanted to have something like 400 bytes or so to achieve
statelessness in  255bytes restriction may be too short for him.
3) Breno (and you I think) wanted to have the request artifact and response
artifact different.
3) This would probably mean that we need to touch the core library in many
case and arguably has larger impact - which means that we may end up with
more adoption friction. (BTW, we actually wrote test code in Java, Python,
PHP, and Ruby to see if the draft can be implemented without touching the
core library.)
4) In the longer term, I am suspecting that association might be
disappearing (like it did in Wrap) so depending on it might not be a good
idea.

In fact, initially, I was thinking the same with you half a year ago, but
after a while, I have abandoned the idea. Assuming that association happens
once in every hundreds of authentication request, it just buys me 0.01 round
trip per authentication request or less. It is going to be even less for a
large provider. I could probably trade that round trip with the benefit
gained from the above reasons. That's why I did not piggy back on the
association.

=nat


On Sat, Feb 13, 2010 at 1:39 PM, Allen Tom <[email protected]> wrote:

>  Hi Nat -
>
> As an optimization, can we combine the association request with the
> artifact request? In fact, why can’t the association handle *be* the
> artifact?
>

> For example, when the RP requests association, it can pass along all the
> request parameters that it normally would pass via the browser in the
> authentication request. The OP can then return the association
> handle/artifact along with the shared secret.
>
> The RP then redirects the user’s browser to the OP with the association
> handle. After the user authenticates, the OP redirects the browser back to
> the RP with the association handle.
>
> The RP then makes a direct server call back to the OP with the handle (and
> probably also the shared secret) to fetch the assertion.
>
> I think this scheme will save a couple round trips.
>
> Allen
>
>
>
>
>
> On 2/11/10 9:55 PM, "Nat Sakimura" <[email protected]> wrote:
>
> If you look at my manuscript of the Artifact Binding (
> http://www.sakimura.org/specs/ab/1.0 )
>
>


-- 
Nat Sakimura (=nat)
http://www.sakimura.org/en/
http://twitter.com/_nat_en
_______________________________________________
specs mailing list
[email protected]
http://lists.openid.net/mailman/listinfo/openid-specs

Reply via email to