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": "[email protected]"
  }
}

Authorizations

x-api-token
string
header
required

Response

Successful response

enabledProviders
enum<string>[]
required

List of enabled authentication providers

Available options:
42-school,
api-auth-link,
api-token-link,
apple,
asgardeo,
atlassian,
auth0,
authentik,
azure-ad-b2c,
azure-ad,
azure-devops,
battlenet,
beyondidentity,
box,
boxyhq-saml,
bungie,
click-up,
cognito,
coinbase,
descope,
discord,
dribbble,
dropbox,
duende-identity-server6,
email,
eveonline,
facebook,
faceit,
foursquare,
freshbooks,
fusionauth,
github,
gitlab,
google,
hubspot,
identity-server4,
instagram,
kakao,
keycloak,
line,
linkedin,
mailchimp,
mailru,
mastodon,
mattermost,
medium,
naver,
netlify,
notion,
okta,
onelogin,
organisation-oidc,
osso,
osu,
passage,
patreon,
pinterest,
pipedrive,
reddit,
salesforce,
slack,
spotify,
strava,
tiktok,
todoist,
trakt,
twitch,
twitter,
united-effects,
vk,
wikimedia,
wordpress,
workos,
yandex,
youtube,
zitadel,
zoho,
zoom
oidcProviders
Auth Configuration OIDC Provider · object[]
required

OIDC provider configurations

email
Auth Configuration Email Settings · object

Authentication configuration email settings