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 yourclientAuthenticationstrategy return that key asconfirmation. (#12262)- If your clients send a standard parameter more than once in form-encoded POST requests to
/oauth2/authorize, such asstate=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/authorizeto reject repeated standard parameters withinvalid_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