Autional Autional
API Reference GitHub autional.com →

PUT /admin/security/auth-config

Update authentication security configuration at runtime, including password policy and login security settings

Security Policy `bearerAuth` application/json

Request Body

Schema: dto.UpdateAuthConfigRequest

FieldTypeRequiredExampleConstraintsDescription
breach_check_enabled boolean No
captcha_enabled boolean No
change_cooldown_minutes integer No Password change cooldown time (minutes)
cross_tenant_switch_enabled boolean No
device_fingerprint_enabled boolean No
expiry_days integer No Password expiration days
grace_period_days integer No Expiration grace days
history_count integer No Password history retention count
lock_duration_sec integer No Account lockout time (seconds)
login_methods array of

string

No
magic_link_enabled boolean No
max_length integer No Maximum length
max_login_attempts integer No Maximum login failure count
membership_approval string No
min_length integer No Minimum length
oauth_providers array of

string

No
passkey_enabled boolean No
password_transmission string No Password transmission method
pepper_enabled boolean No
require_digit boolean No Require digit
require_lower boolean No Require lowercase letter
require_special boolean No Require special character
require_upper boolean No Require uppercase letter
silent_challenge_enabled boolean No
sso_providers array of

string

No
unicode_allowed boolean No

Responses

StatusDescriptionSchema
200Updated successfullygitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No