Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

v0.0.2

Latest

Choose a tag to compare

@changkun changkun released this 16 Feb 06:07

v0.0.2 — Fix token parsing in Go SDK

Bug fix

  • RequestToken now reads the token from the JSON response body instead of extracting it from response cookies. The /auth endpoint returns the JWT token in a {"token": "..."} JSON response, but the Go SDK was incorrectly trying to read it from Set-Cookie headers. This caused RequestToken to always fail with ErrUnauthorized even on successful authentication.