Cascadia Freight Identity Control Tower
Sign in
Client Credentials with a shared secret

Flow 4 · Rate Engine API

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

Flow Recorder · Rate Engine · Client Credentials + secret

4 hops · click any arrow for the raw HTTP

Access token (scp: freight.rates.read)

✓ signature verified against JWKS expires …

Header

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

Payload

{
  "ver": 1,
  "jti": "AT.GC0pkVdAHY__gxUN79LcPqtXscsCm9T5fbL1B3CNGiA",
  "iss": "https://askericka.oktapreview.com/oauth2/default",
  "aud": "api://default",
  "iat": 1795148322,
  "exp": 1795151922,
  "cid": "0oa1652p0pmmtYBTo1d8",
  "scp": [
    "freight.rates.read"
  ],
  "sub": "0oa1652p0pmmtYBTo1d8"
}

Rates API response

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