Auth - Settings
Update auth settings
Updates enabled providers, feature flags, and session duration for an environment.
put/api/auth/settings
Request
- Base URL: https://api.ascendkit.dev (the document declares no server; this is the origin it was published from)
- URL: https://api.ascendkit.dev/api/auth/settings
- Auth: API key in header X-AscendKit-Public-Key and HTTP bearer
Request body
Example request
{
"providers": [
"credentials",
"google"
],
"sessionDuration": "7d",
"allowedDomains": [
"company.com",
"partner.org"
],
"tosUrl": "https://your-app.com/legal/terms"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.