com.atproto.server.getServiceAuth

Domain Index: atproto.com

Crawl History

#main - query

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

Query Parameters

Name Type Details
aud string (required)

The DID of the service that the token will be used to authenticate with

Syntax Format: did

exp integer

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 string

Lexicon (XRPC) method to bind the requested token to

Syntax Format: nsid

Response Body

Content Type: application/json

Data Fields

Name Type Details
token string (required)

Errors

Name Description
BadExpiration Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes.