Gamma API
AuthenticationSign-in configuration

List the regions

GET
/api/auth-config/regions

This deployment's region and every region's issuer, API and web app; an empty list for a single region. Needs no session.

Who may call it: Anyone; no session needed.

Response Body

OK.

application/json
  1. response

The regions a person may have their home in, and where each one's issuer, API and web app are.

region*|

This deployment's region id; null for a single region.

clientId*|

This region's web app's OAuth client id, known to every region's issuer with this region's web origin only; null for a single region.

regions*array<>

Every region, this one included; empty for a single region.

Example Request
curl -X GET 'http://localhost:3000/api/auth-config/regions'
Example Response
{  "region": "string",  "clientId": "string",  "regions": [    {      "id": "string",      "issuer": "string",      "api": "string",      "web": "string"    }  ]}