Better Auth v1.8.0-beta.6

v1.8.0-beta.6Pre-release
Added 1
  • DPoP key binding added to oauthTokenExchange() so a client exchanging its own DPoP-bound access token must prove the same key
Security 1
  • Form POST requests to /oauth2/authorize now reject repeated standard parameters with invalid_request, matching GET behavior

From Better Auth

[!IMPORTANT] Action required

  • If your clients exchange their own DPoP-bound access tokens with oauthTokenExchange(), send a DPoP proof signed by the token's key, or have your clientAuthentication strategy return that key as confirmation. (#12262)
  • If your clients send a standard parameter more than once in form-encoded POST requests to /oauth2/authorize, such as state=a&state=b, change them to send each standard parameter only once. (#12261)
@better-auth/oauth-provider
❗ Breaking Changes
  • Fixed form POST requests to /oauth2/authorize to reject repeated standard parameters with invalid_request, matching GET behavior (#12261)
Features
  • Added DPoP key binding to oauthTokenExchange() so a client exchanging its own DPoP-bound access token must prove the same key (#12262)

For detailed changes, see CHANGELOG

Contributors

Thanks to everyone who contributed to this release:

@gustavovalverde

Full changelog: v1.8.0-beta.5...v1.8.0-beta.6

View original

Upgraded? How did it go?

Discussion