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"
}
}
Retrieve the authentication configuration settings.
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"
}
}
Successful response
Was this page helpful?