Get all JWT customizers

GET /api/configs/jwt-customizer

Get all JWT customizers for the tenant.

Responses

GET /api/configs/jwt-customizer
curl \
 -X GET https://[tenant_id].logto.app/api/configs/jwt-customizer \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "key": "string",
    "value": {
      "script": "string",
      "environmentVariables": {
        "additionalProperty1": "string",
        "additionalProperty2": "string"
      },
      "contextSample": {
        "user": {
          "id": "string",
          "username": "string",
          "primaryEmail": "string",
          "primaryPhone": "string",
          "name": "string",
          "avatar": "string",
          "customData": {},
          "identities": {
            "additionalProperty1": {
              "userId": "string",
              "details": {}
            },
            "additionalProperty2": {
              "userId": "string",
              "details": {}
            }
          },
          "lastSignInAt": 42.0,
          "createdAt": 42.0,
          "updatedAt": 42.0,
          "profile": {
            "familyName": "string",
            "givenName": "string",
            "middleName": "string",
            "nickname": "string",
            "preferredUsername": "string",
            "profile": "string",
            "website": "string",
            "gender": "string",
            "birthdate": "string",
            "zoneinfo": "string",
            "locale": "string",
            "address": {
              "formatted": "string",
              "streetAddress": "string",
              "locality": "string",
              "region": "string",
              "postalCode": "string",
              "country": "string"
            }
          },
          "applicationId": "string",
          "isSuspended": true,
          "hasPassword": true,
          "ssoIdentities": [
            {
              "issuer": "string",
              "identityId": "string",
              "detail": {}
            }
          ],
          "mfaVerificationFactors": [
            "Totp"
          ],
          "roles": [
            {
              "id": "string",
              "name": "string",
              "description": "string",
              "scopes": [
                {
                  "id": "string",
                  "name": "string",
                  "description": "string",
                  "resourceId": "string",
                  "resource": {
                    "tenantId": "string",
                    "id": "string",
                    "name": "string",
                    "indicator": "string",
                    "isDefault": true,
                    "accessTokenTtl": 42.0
                  }
                }
              ]
            }
          ],
          "organizations": [
            {
              "id": "string",
              "name": "string",
              "description": "string"
            }
          ],
          "organizationRoles": [
            {
              "organizationId": "string",
              "roleId": "string",
              "roleName": "string"
            }
          ]
        },
        "grant": {
          "type": "string",
          "subjectTokenContext": {}
        }
      },
      "tokenSample": {
        "jti": "string",
        "aud": "string",
        "scope": "string",
        "clientId": "string",
        "accountId": "string",
        "expiresWithSession": true,
        "grantId": "string",
        "gty": "string",
        "sessionUid": "string",
        "sid": "string",
        "kind": "string"
      }
    }
  }
]