Skip to content

v1.12.6

Latest

Choose a tag to compare

@ikawaha ikawaha released this 31 Dec 12:10
1f779b6

What's Changed

  • build(deps): bump actions/setup-go from 5.5.0 to 6.1.0 by @dependabot[bot] in #65
  • build(deps): bump github.com/itchyny/gojq from 0.12.17 to 0.12.18 by @dependabot[bot] in #67
  • build(deps): bump actions/checkout from 5.0.0 to 6.0.1 by @dependabot[bot] in #68
  • fix: Correct Bearer token format in Authorization header by @ikawaha in #69

Background:
RFC 6750 (OAuth 2.0 Bearer Token Usage) specifies that the Bearer token in the Authorization header should be formatted as "Bearer" followed by a single space and the token. The previous implementation incorrectly included a colon after "Bearer".

Impact:

  • If you're using WithBearerAuth(), the format of the transmitted header will change
  • Most OAuth2 server implementations accept both formats, so this should not cause issues in most cases
  • With strictly RFC 6750-compliant servers, authentication will now work correctly

Migration:

  • No code changes required for most use cases
  • If issues occur, please ensure your server implementation complies with RFC 6750

Full Changelog: v1.12.5...v1.12.6