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

ilpanich / axiam-swift-sdk / 29647438805
95%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 02:11PM UTC
Jobs 1
Files 11
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:07PM UTC coverage: 94.715% (+0.09%) from 94.625%
29647438805

push

github

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

doRefresh built org_id as `config.orgID ?? config.orgSlug ?? ""`, so a client
configured with an organization *slug* sent the slug (or an empty string) as
org_id and its refresh failed the server's RefreshRequest deserialization
(org_id is a required UUID). The login response body carries 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.

- After a successful login/verifyMfa, 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 resolvedOrgID.
- doRefresh prefers resolvedOrgID, falling back to a UUID-form config org_id;
  it no longer substitutes the org slug where a UUID is required (same fix
  applied to the tenant_id fallback).
- 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>

14 of 0 new or added lines in 0 files covered. (NaN%)

9 existing lines in 1 file now uncovered.

681 of 719 relevant lines covered (94.71%)

16.81 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
96.04
0.22% Sources/AxiamSDK/AxiamClient.swift
Jobs
ID Job ID Ran Files Coverage
1 29647438805.1 18 Jul 2026 02:11PM UTC 11
94.71
GitHub Action Run
Source Files on build 29647438805
  • Tree
  • List 11
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29647438805
  • fc995c17 on github
  • Prev Build on main (#29642405040)
  • Next Build on main (#29653773111)
  • 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