Cascadia Freight Identity Control Tower
Sign in
Client Credentials with private_key_jwt

Flow 8 · Partner EDI Gateway

No browser, no user: a service gets a scoped token and calls a protected API that validates it locally.

Flow Recorder · Partner EDI · Client Credentials + private_key_jwt

4 hops · click any arrow for the raw HTTP

client_assertion (what the partner signed)

expires …

Header

{
  "alg": "RS256",
  "kid": "hj7WrRuJHAawqFOdEWnUs6532fWC79ojdWHSB_TCSNE"
}

Payload

{
  "iss": "0oa16544610CacvVR1d8",
  "sub": "0oa16544610CacvVR1d8",
  "aud": "https://askericka.oktapreview.com/oauth2/default/v1/token",
  "jti": "TnqCqB5iRPkFW6tg0H4XcuzYGEO-xYz3",
  "iat": 1795148315,
  "exp": 1795148615
}

Access token (scp: freight.rates.read)

✓ signature verified against JWKS expires …

Header

{
  "kid": "URwYH5lkFcr8HU0Bkm87seIOCOixTZX5gD6Izo_2M0I",
  "alg": "RS256"
}

Payload

{
  "ver": 1,
  "jti": "AT.CjPKPDhdbC1mnHhb1O-cCmi8kgLAsKB0ZKQQwtTO8Zk",
  "iss": "https://askericka.oktapreview.com/oauth2/default",
  "aud": "api://default",
  "iat": 1795148315,
  "exp": 1795151915,
  "cid": "0oa16544610CacvVR1d8",
  "scp": [
    "freight.rates.read"
  ],
  "sub": "0oa16544610CacvVR1d8"
}

Rates API response

{
  "validation": "JWKS ✓ iss ✓ aud=api://default ✓ scp includes freight.rates.read ✓",
  "caller": "0oa16544610CacvVR1d8",
  "lanes": [
    {
      "lane": "Tacoma → Spokane",
      "mode": "FTL",
      "usd": 1840
    },
    {
      "lane": "Seattle → Portland",
      "mode": "LTL",
      "usd": 412
    },
    {
      "lane": "Everett → Boise",
      "mode": "Reefer",
      "usd": 2275
    }
  ]
}