<div dir="ltr">I am headed to a w3c meeting that will talk about DIDs for the future. I would like to understand if the self-issued ID requires (or should require) some sort of (semi) permanent URL on the internet. (including on a block-chain, for example.)  Without that i cannot understand what a self-issued ID might even mean.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Peace ..tom</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 3:06 PM Nat Sakimura via Openid-specs-ab <<a href="mailto:openid-specs-ab@lists.openid.net">openid-specs-ab@lists.openid.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Self Issued OP is described in Chapter 7 of the OpenID Connect Core 1.0. <div>It lives on a local machine, typically a phone. Even if it did provide an authorization code to the client, the client cannot establish a direct connection to the local machine (phone) as it is not addressable. Therefore, a token endpoint cannot be provided unless it is coupled with some kind of cloud-based service, which would negate some of the very reason for having the Self-issued OP. In other words, only the viable communication channel between the SIOP and the client is the front channel. The situation could be true to other "wallet" type of implementations. </div><div><br></div><div>This is one of the exotic features of OpenID Connect that never got a traction but it is getting a renewed interest as "Self-sovereign Identity" gained some interest. </div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 28, 2018 at 6:03 AM Torsten Lodderstedt <<a href="mailto:torsten@lodderstedt.net" target="_blank">torsten@lodderstedt.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I still don’t understand why the use case must be solved using a flow issuing something in the front channel. <br>
<br>
I would also like to take a closer look. Can you or Nat provide pointers to existing implementations? <br>
<br>
> Am 27.11.2018 um 21:36 schrieb John Bradley <<a href="mailto:ve7jtb@ve7jtb.com" target="_blank">ve7jtb@ve7jtb.com</a>>:<br>
> <br>
> I understand that, but hat is Nat's concern as I understand it.<br>
> <br>
> When we say no implicit people, have a problem because implicit is imprecise.<br>
> <br>
> We are saying no AT returned in the response from the authorization endpoint.<br>
> <br>
> Nat points out that id_token may contain AT for the self issued client.<br>
> <br>
> So unless we say that is OK if the AT are sender constrained we wind up implying that a OpenID profile of OAuth is in violation of the BCP.<br>
> <br>
> I am just trying to make sure everyone is on the same page with why Nat was -1.<br>
> <br>
> It really has nothing to do with the SPA use case.<br>
> <br>
> John B.<br>
> <br>
>> On 11/27/2018 5:28 PM, Torsten Lodderstedt wrote:<br>
>> Hi John,<br>
>> <br>
>> as you said, self issued IDPs (<a href="https://openid.net/specs/openid-connect-core-1_0.html#SelfIssued" rel="noreferrer" target="_blank">https://openid.net/specs/openid-connect-core-1_0.html#SelfIssued</a>) are supposed to provide the response type „id_token“ only. I don’t think the proposal being discussed here is related to this OIDC mode.<br>
>> <br>
>> best regards,<br>
>> Torsten.<br>
>> <br>
>>> Am 27.11.2018 um 20:54 schrieb John Bradley <<a href="mailto:ve7jtb@ve7jtb.com" target="_blank">ve7jtb@ve7jtb.com</a>>:<br>
>>> <br>
>>> I talked to Nat about this a bit today.<br>
>>> <br>
>>> The thing he is concerned about is mostly around the self issued IDP that doesn't have a token endpoint(atleast not easaly).<br>
>>> <br>
>>> The main use case for that is the id_token response type where claims are retuned in the id_token.<br>
>>> <br>
>>> Because it is fragment encoded some people call that implicit.   That is not what we are trying to stop.<br>
>>> <br>
>>> In some cases in that flow there may be distributed claims returned with access Token inside the id_token.    I think most people would agree that those should be pop or sender constrained tokens.<br>
>>> <br>
>>> In the case of self issued the RP would be a server and could do sender constrained via some mechinisim that is yet to be defined.<br>
>>> <br>
>>> So if someone wanted to return a access token in a id_token to do distributed claims I don't think we have a problem with that as long as the token is protected by being sender constrained in some reasonable way.<br>
>>> <br>
>>> This is a touch hypothetical from the basic OAuth perspective, so I don't know how deep we want to go into it.<br>
>>> <br>
>>> I think the point is not to accidently prohibit something that could be done in future.<br>
>>> <br>
>>> I also think we should not conflate confidential clients that can authenticate to the token endpoint with sender constrained/PoP clients that can deal with bound tokens.   Yes both have keys but it is better to describe them separately.<br>
>>> <br>
>>> John B.<br>
>>> <br>
>>> On Tue, Nov 27, 2018, 4:30 PM Torsten Lodderstedt via Openid-specs-ab <<a href="mailto:openid-specs-ab@lists.openid.net" target="_blank">openid-specs-ab@lists.openid.net</a> wrote:<br>
>>> Hi Nat,<br>
>>> <br>
>>> I understand you are saying your draft could provide clients with an application level mechanism to sender constrain access tokens. That’s great!<br>
>>> <br>
>>> But I don’t see a binding to response type „token id_token“. Why do you want to expose the tokens via the URL to attackers?<br>
>>> <br>
>>> You could easily use your mechanism with code. That would also give you the chance to really authenticate the confidential client before you issue the token.<br>
>>> <br>
>>> kind regards,<br>
>>> Torsten.<br>
>>> <br>
>>>> Am 27.11.2018 um 16:57 schrieb Nat Sakimura <<a href="mailto:sakimura@gmail.com" target="_blank">sakimura@gmail.com</a>>:<br>
>>>> <br>
>>>> I am not talking about SPA.<br>
>>>> The client is a regular confidential client that is running on a server.<br>
>>>> <br>
>>>> Best,<br>
>>>> <br>
>>>> Nat Sakimura<br>
>>>> <br>
>>>> <br>
>>>> 2018年11月27日(火) 16:55 Jim Manico <<a href="mailto:jim@manicode.com" target="_blank">jim@manicode.com</a>>:<br>
>>>> Nat,<br>
>>>> <br>
>>>> How is proof of possession established in a modern web browser in the implicit flow?<br>
>>>> <br>
>>>> My understanding is that token binding was removed from Chrome recently effectively killing browser-based PoP tokens.<br>
>>>> <br>
>>>> <a href="https://identiverse.com/2018/10/31/chrome-puts-token-binding-in-a-bind/" rel="noreferrer" target="_blank">https://identiverse.com/2018/10/31/chrome-puts-token-binding-in-a-bind/</a><br>
>>>> <br>
>>>> Am I missing something?<br>
>>>> <br>
>>>> Aloha, Jim<br>
>>>> <br>
>>>> <br>
>>>> <br>
>>>>> On 11/27/18 9:00 PM, Nat Sakimura wrote:<br>
>>>>> I am actually -1.<br>
>>>>> <br>
>>>>> +1 for public client and the tokens that are not sender/key constrained.<br>
>>>>> <br>
>>>>> Just not being used right now does not mean that it is not useful.. In fact, I see it coming.<br>
>>>>> Implicit (well, Hybrid “token id_token” really) is very useful in certain cases.<br>
>>>>> Specifically, when the client is confidential (based on public key pair), and uses sender constrained (key-constrained) token such as the one explained in <a href="https://tools.ietf.org/html/draft-sakimura-oauth-jpop-04#section-5" rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-sakimura-oauth-jpop-04#section-5</a>, it is very useful.<br>
>>>>> (Key-constrained token is the remaining portion of this draft that did not get incorporated in the MTLS draft. )<br>
>>>>> In fact it is the only viable method for Self-Issued OpenID Provider.<br>
>>>>> <br>
>>>>> So, the text is generally good but it needs to be constrained like “Unless the client is confidential and the access token issued is key constrained, ... “<br>
>>>>> <br>
>>>>> Best,<br>
>>>>> <br>
>>>>> Nat Sakimura<br>
>>>>> <br>
>>>>> <br>
>>>>> 2018年11月27日(火) 16:01 Vladimir Dzhuvinov <<a href="mailto:vladimir@connect2id.com" target="_blank">vladimir@connect2id.com</a>>:<br>
>>>>> +1 to recommend the deprecation of implicit.<br>
>>>>> <br>
>>>>> I don't see a compelling reason to keep implicit when there is an<br>
>>>>> established alternative that is more secure.<br>
>>>>> <br>
>>>>> Our duty as WG is to give developers the best and most sensible practice.<br>
>>>>> <br>
>>>>> CORS adoption is currently at 94% according to<br>
>>>>> <a href="https://caniuse.com/#feat=cors" rel="noreferrer" target="_blank">https://caniuse.com/#feat=cors</a><br>
>>>>> <br>
>>>>> Vladimir<br>
>>>>> <br>
>>>>> <br>
>>>>> _______________________________________________<br>
>>>>> OAuth mailing list<br>
>>>>> <a href="mailto:OAuth@ietf.org" target="_blank">OAuth@ietf.org</a><br>
>>>>> <a href="https://www.ietf.org/mailman/listinfo/oauth" rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
>>>>> -- <br>
>>>>> Nat Sakimura (=nat)<br>
>>>>> Chairman, OpenID Foundation<br>
>>>>> <a href="http://nat." rel="noreferrer" target="_blank">http://nat.</a>.<a href="http://sakimura.org/" rel="noreferrer" target="_blank">sakimura.org/</a><br>
>>>>> @_nat_en<br>
>>>>> <br>
>>>>> <br>
>>>>> _______________________________________________<br>
>>>>> OAuth mailing list<br>
>>>>> <br>
>>>>> <a href="mailto:OAuth@ietf.org" target="_blank">OAuth@ietf.org</a><br>
>>>>> <a href="https://www.ietf.org/mailman/listinfo/oauth" rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
>>>> -- <br>
>>>> Jim Manico<br>
>>>> Manicode Security<br>
>>>> <br>
>>>> <a href="https://www.manicode.com" rel="noreferrer" target="_blank">https://www.manicode.com</a><br>
>>>> -- <br>
>>>> Nat Sakimura (=nat)<br>
>>>> Chairman, OpenID Foundation<br>
>>>> <a href="http://nat.sakimura.org/" rel="noreferrer" target="_blank">http://nat.sakimura.org/</a><br>
>>>> @_nat_en<br>
>>>> _______________________________________________<br>
>>>> OAuth mailing list<br>
>>>> <a href="mailto:OAuth@ietf.org" target="_blank">OAuth@ietf.org</a><br>
>>>> <a href="https://www.ietf.org/mailman/listinfo/oauth" rel="noreferrer" target="_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
>>> _______________________________________________<br>
>>> Openid-specs-ab mailing list<br>
>>> <a href="mailto:Openid-specs-ab@lists.openid.net" target="_blank">Openid-specs-ab@lists.openid.net</a><br>
>>> <a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" rel="noreferrer" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-1227676582496720237gmail_signature" data-smartmail="gmail_signature">Nat Sakimura (=nat)<div>Chairman, OpenID Foundation<br><a href="http://nat.sakimura.org/" target="_blank">http://nat.sakimura.org/</a><br>@_nat_en</div></div>
_______________________________________________<br>
Openid-specs-ab mailing list<br>
<a href="mailto:Openid-specs-ab@lists.openid.net" target="_blank">Openid-specs-ab@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" rel="noreferrer" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><br>
</blockquote></div>