SsoStatus
SsoStatus = {
state:"checking"; } | {name?:string;state:"available"; } | {reason:string;state:"invalid"; } | {reason?:string;retryAfter?:Date;state:"unavailable"; }
Defined in: src/client/sso.ts:128
Whether the organization domain a client was built with can be signed in with.
checking: Internet Identity has not answered yet.available: the domain resolves to a usable SSO configuration.nameis the label the organization publishes, for a “Continue with Acme” button.invalid: the value is not a domain, so no check is made and a retry cannot help. The user has to change what they typed.reasonnames every problem with it, to show as is.unavailable: the domain publishes no usable configuration, or fetching it is failing. WhileretryAfteris in the future Internet Identity will not fetch again, so a retry before then gets the same answer; without it, a retry cannot help.reasonis Internet Identity’s explanation, when it gives one, to show as is.