Skip to content

v3.1.1

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 05:48
· 23 commits to develop since this release
v3.1.1
a2da988

⚠️ Breaking Changes

  • If you replaced the library's whole list of token request checks with your own, add the new scope check to it. Without it, a code or refresh token request that names a scope the client may not have is no longer refused; that scope is quietly left out of the token.

🛠 Fixes

  • Scopes declared by a resource kept on every token request (#1035)
  • Resource scopes of the grant accepted without a resource indicator on refresh and code redemption (#1035)
  • Scope parameter ignored on device code and CIBA token requests, whose specifications do not define it (#1035)
  • Native client redirect to localhost matched on any port (#1036)

✅ Why It Matters

  • An MCP client that names its scopes when it refreshes a token keeps the scopes the resource server granted
  • A native app or MCP client that listens on a random localhost port can sign in, as RFC 9700 requires
  • Narrowing a token request follows RFC 6749 section 6 and RFC 8707 on every grant type

What's Changed

  • Keep a resource's scopes through token requests in #1035
  • Match a native client's localhost redirect URI on any port in #1036

Full Changelog: v3.1...v3.1.1