域名未关联身份提供商

Moses Skoda工程师预计阅读 1 分钟

出现此问题时,API 返回 404 Not Found。其 type 为 https://lingo.dev/docs/api/errors/sso-domain-not-found。有关所有错误的通用结构,请参阅错误和状态码。

域名 example.com 未关联任何身份提供商。请使用密码、电子邮件链接或 Google 登录。

字段#

除了标准的 type、status、title 和 detail 成员,响应体还包含以下字段。detail 文本根据这些字段生成,客户端也可以改为显示自定义文本。

字段类型
domainstring

示例#

json
{
  "detail": "No connected identity provider for domain example.com. Sign in with a password, an email link or Google.",
  "domain": "example.com",
  "type": "https://lingo.dev/docs/api/errors/sso-domain-not-found",
  "status": 404,
  "title": "No identity provider for domain"
}