Token endpoint

To use this token endpoint, add the following value to your website’s <head>:

<link rel="token_endpoint" href="https://chndr-indiekit.fly.dev/token">

Verify an access token

To verify the access token, make a GET request to the token endpoint with the access token in the header:

GET https://chndr-indiekit.fly.dev/token
Accept: application/json
Authorization: Bearer xxxxxxxx

This endpoint will then verify the token and respond with information about the user and scope:

HTTP/1.1 200 OK
Content-Type: application/json

{
  "me": "https://chndr.cc",
  "client_id": "https://chndr-indiekit.fly.dev",
  "scope": "create",
  "issued_at": 1399155608,
  "nonce": 501884823
}