com.atproto.server.getServiceAuth

atproto-lexicons.bsky.social

{
  "id": "com.atproto.server.getServiceAuth",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "BadExpiration",
          "description": "Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "token"
          ],
          "properties": {
            "token": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "aud"
        ],
        "properties": {
          "aud": {
            "type": "string",
            "format": "did",
            "description": "The DID of the service that the token will be used to authenticate with"
          },
          "exp": {
            "type": "integer",
            "description": "The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope."
          },
          "lxm": {
            "type": "string",
            "format": "nsid",
            "description": "Lexicon (XRPC) method to bind the requested token to"
          },
          "aud_svc": {
            "type": "string",
            "description": "The id of the service endpoint under the 'aud' DID to authenticate with. In other words, the part after '#' in the DID document service endpoint 'id'. For sessions constrained to specific 'rpc' permissions, this field is required to match the name part of the 'aud' field on the permission."
          }
        }
      },
      "description": "Get a signed token on behalf of the requesting DID for the requested service."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.atproto.server.getServiceAuth

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6msi3pj7krzih5qxqtryxlzw
CID
bafyreid4bzib4midhj56gvvv74sgqqdn6lj3o4l45haolviicsra6qfxpu
Indexed At
2026-04-08 02:29 UTC
AT-URI
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.server.getServiceAuth

Version History (3 versions)

Lexicon Garden

@