←
Tobias Looker57 posts
Tobias Looker avatar

Tobias Looker

@tplooker

CTO @mattrglobal

◷ Joined September 2019▧ 5 Photos and videos
Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

So why now and why client discovery? I believe we need a simple and common approach documented for the OAuth2 community that enables a wide range of use cases and many of the proposals to date have been more focused on specific applications such as federation or social login.

Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

It pays to note, while the framing of this proposal may be unique, the concept is not. OpenID federation has automatic registration and IndieAuth has documented a similar mechanism. Also if you look hard enough similar thinking can be traced back to OpenID 2 and SAML.

Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

So what if we viewed this problem a little differently? What if the client identified to the AS using an ID that is, assigned and controlled by it, globally unique and can be used to resolve to its metadata, a URL. Enter the concept "client discovery".

Post attachmentPost attachment
Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

For example with DCR, clients are forced to obtain and manage a client ID per AS, and in some cases the client may need to register multiple times because of local storage limitations (e.g SPA's type clients) leading to dead registrations on the AS.

Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

The challenge to solve as ecosystems scale is how these parties can interact with minimal friction while retaining the core properties of the protocol. Dynamic Client Registration (DCR) was introduced to try and solve some of this, however it comes with its own set of challenges.

Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

Conventional OAuth2 requires the client to register with the authorization server (AS) in order to be able to interact. This model is powerful but limiting, especially as ecosystems scale to involve many clients and AS's.

Post attachment
Tobias Looker avatar
Tobias Looker@tplooker·21 Nov 2022

Trying something new here, let's see how it pans out 🤷‍♂️ OAuth2 Client Discovery, what is it? A proposal to the OAuth2 community. A thread 🧵