Verify SSO Domain Ownership
Proves that your account controls the email_domain of a custom oidc or saml SSO configuration by checking a DNS TXT record. Until a config's domain is verified it will not apply at login, so a config cannot silently take over sign-in for a domain you don't own.
When you create an oidc/saml config (or later change its email_domain), the response returns domain_verify_record_name and domain_verify_record_value. Publish that TXT record, then call this endpoint to complete verification. The lookup host is _ngris-sso-verify.<email_domain> and the expected value is ngris-sso-verify=<token>; verification succeeds only on an exact match.
google and github configs are auto-verified — the provider asserts identity and their endpoints are locked, so they carry no verification token and do not need this call.
Authorization
Account-scoped. Requires the settings:update permission on the active account and the sso plan entitlement.
Path parameters
Request body
None — empty body or {}. The DNS TXT record is looked up from the config's stored token.
Response (200 OK)
true once the TXT record matches (and domain_verified is persisted on the config). true is also returned immediately if the config was already verified.verified: false — explains that the TXT record was not found or did not match yet, including the exact host and value to publish. DNS changes can take a few minutes to propagate; retry after publishing.Errors
google/github).settings:update permission, or the account plan lacks the sso entitlement.