at.blueharbor.createSession

toddlambert.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The lxm named in service-auth JWTs minted for the BlueHarbor backend (aud did:web:blueharbor.at). The backend verifies the JWT against the caller's DID document and exchanges it for a BlueHarbor session token. Defined here so the method identifier resolves; the HTTP call itself is served by the BlueHarbor service, not a PDS.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "expiresAt": {
              "type": "integer"
            },
            "token": {
              "type": "string"
            }
          },
          "required": [
            "token",
            "did",
            "expiresAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "at.blueharbor.createSession",
  "lexicon": 1
}

Validate Record

Validate a record against at.blueharbor.createSession

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:r5pj64joaywqnvk2obembpt7
CID
bafyreieatq2w7sbolb7xud4cq6v5kef2nwwaxuewkgjev3ollcbrwa7nim
Indexed At
2026-08-12 03:05 UTC
AT-URI
at://did:plc:r5pj64joaywqnvk2obembpt7/com.atproto.lexicon.schema/at.blueharbor.createSession

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Exchange a PDS-minted service auth token for a gateway session. The service auth JWT travels in the Authorization header (aud = the gateway DID, lxm = this NSID) and is single-use. Browser callers (Origin header present…

  • Get a signed token on behalf of the requesting DID for the requested service.

  • social.dept.createSession procedurenot from the namespace authority

    Start a Social Dept. session for the account that signed the service auth token sent as the bearer credential. The token's lxm must be this method.

  • Exchange a proxied service-auth call for a short-lived direct-access token bound to the viewer's DID.

  • Mint a service-auth JWT whose issuer is this repo's DID, signed by the knot that owns the repo's signing key. When calling this, you'll need the same perms as git push, ie. being repo owner/collaborator/knot-admin.

Lexicon Garden

@