List Auth Configs

Description

list all Nabto Edge Authorization Configurations in the organization. Authorization Configurations can have authType: NONE and JWT.

Request

GET /v1/n5/apps

Response

Successful response contains the following JSON formated body:

{
  appId: string,
  organizationId: string,
  isPublic: boolean,
  name: string,
  serverKey: string,
  authType: string,
  jwtIssuer?: string,
  jwtAudience?: string,
  jwtJwksUri?: string,
  jwtNabtoIdsClaim?: string,
  tags: {
    [key: string]: string
  },
  created: string
}[]

Response Status codes:

  • 200 on success

Request headers

This request must have the following headers:

  • Authorization: bearer <ApiKey>
  • X-Nabto-Organization: <organizationId>

Example

Request

curl "https://api.cloud.nabto.com/v1/n5/apps" \
  -H "Authorization: Bearer <ApiKey>" \
  -H "X-Nabto-Organization: <OrganizationId>"

Response

[{
   "appId": "ap-abcdwxyz",
  "organizationId": "or-lmnopqrs",
  "isPublic": true,
  "name": "friendly name",
  "serverKey": "sk-4242424242424242",
  "authType": "NONE",
  "jwtIssuer": "<jwtIssuer>",
  "jwtAudience": "<jwtAudience>",
  "jwtJwksUri": "<jwtJwksUri>",
  "jwtNabtoIdsClaim": "<jwtNabtoIdsClaim>",
  "tags": {
    "foo": "bar" 
  },
  "created": "2022-10-18T10:17:24.299Z"
},
...]