Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The State of OAuth 2025 - Identiverse

The State of OAuth 2025 - Identiverse

Avatar for Aaron Parecki

Aaron Parecki

June 04, 2025
Tweet

More Decks by Aaron Parecki

Other Decks in Technology

Transcript

  1. OAuth 2.1 Goals • Consolidate the OAuth 2.0 specs, adding

    best practices, removing deprecated features • Capture current best practices in OAuth 2.0 under a single name • Add references to extensions that didn't exist when OAuth 2.0 was published
  2. Best Current Practice for OAuth 2.0 Security • Collects best

    practices for OAuth 2.0 • Finally published in January 2025! • Document was started in November 2016 • RFC 9700 is a dependency and significant input to OAuth 2.1 oauth.net/2/oauth-best-practice
  3. JWT Response for Token Introspection • Response to a token

    introspection request is a full signed JWT • Provides a JWT that can be logged and later used to prove that the AS returned the given introspection response datatracker.ietf.org/doc/rfc9701/
  4. Protected Resource Metadata • A Resource Server can publish metadata

    about itself similar to Authorization Server Metadata • The Resource Server can indicate which Authorization Server can issue access tokens usable at the server • Enables configuring an OAuth client knowing only the Resource Server URL datatracker.ietf.org/doc/rfc9728/ Adopted by
  5. User Agent (Browser) Authorization Server Resource Server (API) Client (App)

    OAuth for Browser- Based Applications (Best Current Practice) https://datatracker.ietf.org/doc/draft-ietf-oauth-browser-based-apps/
  6. Draft RFC 9728 OAuth 2.1 Protected Resource Metadata Draft Client

    ID Metadata RFC 9449 DPoP RFC 7523 Client Authentication JWT RFC 9126 Pushed Authorization Requests Preregistration of apps is not possible, anyone can write an app and use it with anyone's server https://docs.bsky.app/docs/advanced-guides/oauth-client
  7. Draft RFC 9728 OAuth 2.1 Protected Resource Metadata RFC 8414

    Authorization Server Metadata RFC 7591 Dynamic Client Registration Configure a client with only the URL of the resource server https://modelcontextprotocol.io/specification/draft/basic/authorization
  8. Cross-App Access https://datatracker.ietf.org/doc/draft-parecki-oauth-identity-assertion-authz-grant/ Puts the IdP in between the OAuth

    exchange between two apps • Better user experience • Improved security and admin control