Start an org's single sign-on login
const url = 'http://localhost:8080/api/auth/sso/authorize';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/auth/sso/authorizeStarts a login through the identity provider of the org that owns the email domain (D-P-60). A domain that is not verified, a disabled provider (except for an owner’s Test sign-in, D-P-57) and an unknown domain all redirect to /login?error=sso_unavailable with no cookie. Discovery and authorize share 300 requests a minute per client IP; a burst over that is 429. redirect is kept as for the instance providers.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The email domain, e.g. acme.com.
Relative path to open after a successful login.
Responses
Section titled “Responses”Redirect to the identity provider, or to /login?error=sso_unavailable.
Too many requests.
RFC 7807 problem document.
Spec 09 § Conventions.
object
Machine-readable error code.
Extra explanation. Omitted when absent.
Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.
One field that failed validation.
Spec 09 § Conventions.
object
Request field, query parameter, or expression the error refers to.
What is wrong with the field.
Location inside the field value, for filter and SQL errors.
object
1-based column number, in characters.
1-based line number, in characters.
HTTP status code.
Short human-readable summary, the reason phrase of status.
Problem type URI. Always about:blank in this version.
Example
{ "code": "bad_request"}