• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ilpanich / axiam-cplusplus-sdk / 29647191309
91%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 02:01PM UTC
Jobs 1
Files 7
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jul 2026 02:00PM UTC coverage: 91.378% (-0.4%) from 91.758%
29647191309

push

github

web-flow
Resolve org_id from access-token claim for the refresh body (D-14) (#2)

The refresh body previously took org_id from construction config only
(`org_id.value_or("")`), so a client built with an organization *slug*
instead of a UUID sent an empty org_id and its refresh failed the server's
`RefreshRequest` deserialization (org_id is a required UUID). The login
response body carries tenant_id/org_slug but never org_id, so — mirroring the
Rust/Go/Python/etc. reference SDKs — recover the org_id UUID from the
access-token JWT claim.

- Transport: capture `Set-Cookie` header values in a dedicated
  `HttpResponse.set_cookies` vector (the case-insensitive HeaderMap collapsed
  the several cookies a login sets, discarding axiam_access).
- Client: after a successful login/verify_mfa, decode the org_id claim out of
  the axiam_access cookie (unverified base64url decode — used only to echo the
  value the server re-derives and re-validates on refresh) into
  `resolved_org_id`, and prefer it over the configured org_id when building the
  refresh body.
- Add a test asserting a slug-only-configured client sends the decoded org_id
  UUID (not the slug) on refresh.


Claude-Session: https://claude.ai/code/session_0156crGuZKUBcWe2w5bzD9y1

Co-authored-by: Claude <noreply@anthropic.com>

254 of 340 branches covered (74.71%)

Branch coverage included in aggregate %.

36 of 36 new or added lines in 2 files covered. (100.0%)

721 of 727 relevant lines covered (99.17%)

103.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29647191309.1 18 Jul 2026 02:01PM UTC 7
91.38
GitHub Action Run
Source Files on build 29647191309
  • Tree
  • List 7
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29647191309
  • 99cc399b on github
  • Prev Build on main (#29642218948)
  • Next Build on main (#29653780424)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc