Skip to main content
GET
/
auth-config
Get auth configuration
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/admin/auth-config \
  --header 'x-api-token: <api-key>'
{
  "enabledProviders": [
    "42-school"
  ],
  "oidcProviders": [
    {
      "id": "<string>",
      "name": "<string>",
      "clientId": "<string>",
      "clientSecret": "<string>",
      "issuer": "<string>",
      "userinfo_endpoint": "<string>",
      "customUserInfoEndpoint": "<string>",
      "scopes": [
        "<string>"
      ]
    }
  ],
  "email": {
    "host": "<string>",
    "port": 32768,
    "username": "<string>",
    "fromAddress": "jsmith@example.com"
  }
}

Authorizations

x-api-token
string
header
required

Response

Successful response

enabledProviders
enum<string>[]
required

List of enabled authentication providers

oidcProviders
Auth Configuration OIDC Provider · object[]
required

OIDC provider configurations

email
object | null

Authentication configuration email settings

I