com.atproto.server.getServiceAuth

atproto-lexicons.bsky.social

Schema Diff

+0 -4

From

CID
bafyreid4bzib4mi...
Indexed At
2026-04-08 02:29 UTC
View this version

To

CID
bafyreigjuxsvldk...
Indexed At
2026-04-08 02:30 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "id": "com.atproto.server.getServiceAuth",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "query",
6 6
      "errors": [
7 7
        {
8 8
          "name": "BadExpiration",
9 9
          "description": "Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes."
10 10
        }
11 11
      ],
12 12
      "output": {
13 13
        "schema": {
14 14
          "type": "object",
15 15
          "required": [
16 16
            "token"
17 17
          ],
18 18
          "properties": {
19 19
            "token": {
20 20
              "type": "string"
21 21
            }
22 22
          }
23 23
        },
24 24
        "encoding": "application/json"
25 25
      },
26 26
      "parameters": {
27 27
        "type": "params",
28 28
        "required": [
29 29
          "aud"
30 30
        ],
31 31
        "properties": {
32 32
          "aud": {
33 33
            "type": "string",
34 34
            "format": "did",
35 35
            "description": "The DID of the service that the token will be used to authenticate with"
36 36
          },
37 37
          "exp": {
38 38
            "type": "integer",
39 39
            "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."
40 40
          },
41 41
          "lxm": {
42 42
            "type": "string",
43 43
            "format": "nsid",
44 44
            "description": "Lexicon (XRPC) method to bind the requested token to"
45 -
          },
46 -
          "aud_svc": {
47 -
            "type": "string",
48 -
            "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."
49 45
          }
50 46
        }
51 47
      },
52 48
      "description": "Get a signed token on behalf of the requesting DID for the requested service."
53 49
    }
54 50
  },
55 51
  "$type": "com.atproto.lexicon.schema",
56 52
  "lexicon": 1
57 53
}

Compare Other Versions

Lexicon Garden

@