AuthenticationSign-in configuration
Find an address's home region
POST
The region whose issuer the address signs in at: this one when the address has an account here, the guest's home region when it is a guest here; otherwise the one region where its domain is an organization's verified SSO domain or where it has an account, else this one. Null for a single region, and when more than one region claims the address: the person chooses. At most 10 a minute per client, then 429. Needs no session.
Who may call it: Anyone; no session needed.
application/json- body
email*stringThe address someone signs in with.
Match
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailLength
length <= 254OK.
application/json- response
region*|The region the address signs in at: this one when no region knows it; null for a single region, and when more than one region claims the address, for the person to choose.
Example Request
curl -X POST 'http://localhost:3000/api/auth-config/home-region' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com"}'Example Response
{ "region": "string"}