Aller au contenu principal

Hosted authentication pages

Navigate the browser to these routes to use SyAuth-hosted forms. Preserve cookies, hidden fields and the form CSRF token. Responses are HTML or redirects; HTTP 200 can also contain a form validation error. Use the OAuth integration guide to start an authorization flow.

API conventions · All endpoints · Schemas

/e/v1/auth/login/​

Hosted application login.

GET​

Browser navigation: pass client context (client_id or oauth_client, as listed below), optional redirect_uri and pkce_session_id. The response is an HTML form. Preserve its hidden inputs and session cookie.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
querynext'/'
queryclient_idnot supplied
queryoauth_params_tokennot supplied
queryresponse_typenot supplied
queryscopenot supplied
querynoncenot supplied
querycode_challengenot supplied
querycode_challenge_methodnot supplied
querypkce_session_idnot supplied
queryoauth_flownot supplied
querystatenot supplied
queryerrornot supplied
queryredirect_uri''
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

POST​

Submit the rendered form as application/x-www-form-urlencoded, including its CSRF token where rendered, session cookie and hidden OAuth parameters. Main form fields: email, password. Errors are rendered into HTML and may still have HTTP 200. Prefer the JSON endpoint for programmatic integration.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
formemailnot supplied
formpasswordnot supplied
formnext'/'
queryclient_idnot supplied
formclient_idnot supplied
queryredirect_urinot supplied
formredirect_urinot supplied
queryoauth_params_tokennot supplied
formoauth_params_tokennot supplied
querystatenot supplied
formstatenot supplied
queryresponse_typenot supplied
formresponse_type'code'
queryscopenot supplied
formscopenot supplied
querynoncenot supplied
formnoncenot supplied
querycode_challengenot supplied
formcode_challengenot supplied
querycode_challenge_methodnot supplied
formcode_challenge_methodnot supplied
queryoauth_flownot supplied
formoauth_flownot supplied
querypkce_session_idnot supplied
formpkce_session_idnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

302 — redirect

Redirect: inspect Location and preserve cookies.

/e/v1/auth/register/​

Hosted application registration.

GET​

Browser navigation: pass client context (client_id or oauth_client, as listed below), optional redirect_uri and pkce_session_id. The response is an HTML form. Preserve its hidden inputs and session cookie.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
queryredirect_uri''
querycode_challengenot supplied
querycode_challenge_methodnot supplied
querystatenot supplied
querypkce_session_idnot supplied
queryclient_idnot supplied
queryoauth_clientnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

POST​

Submit the rendered form as application/x-www-form-urlencoded, including its CSRF token where rendered, session cookie and hidden OAuth parameters. Main form fields: email, password, confirm_password, first_name, last_name, oauth_client. Errors are rendered into HTML and may still have HTTP 200. Prefer the JSON endpoint for programmatic integration.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
formemailnot supplied
formpasswordnot supplied
formconfirm_passwordnot supplied
formfirst_namenot supplied
formlast_namenot supplied
formoauth_clientnot supplied
formredirect_uri''
formcode_challengenot supplied
querycode_challengenot supplied
formcode_challenge_methodnot supplied
querycode_challenge_methodnot supplied
formstatenot supplied
querystatenot supplied
formpkce_session_idnot supplied
querypkce_session_idnot supplied

Related schemas: User.

Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

302 — redirect

Redirect: inspect Location and preserve cookies.

/e/v1/auth/verify-email/​

Hosted email verification.

GET​

Browser navigation: pass client context (client_id or oauth_client, as listed below), optional redirect_uri and pkce_session_id. The response is an HTML form. Preserve its hidden inputs and session cookie.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
queryemailnot supplied
queryredirect_uri''
querypkce_session_idnot supplied
queryclient_idnot supplied
queryoauth_clientnot supplied
queryregisterednot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

POST​

Submit the rendered form as application/x-www-form-urlencoded, including its CSRF token where rendered, session cookie and hidden OAuth parameters. Main form fields: email, code, oauth_client; resend=true selects resending. Errors are rendered into HTML and may still have HTTP 200. Prefer the JSON endpoint for programmatic integration.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
formemailnot supplied
formcodenot supplied
formoauth_clientnot supplied
queryredirect_urinot supplied
formredirect_uri''
formresendnot supplied
formpkce_session_idnot supplied
querypkce_session_idnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

/e/v1/auth/forgot-password/​

Hosted reset request.

GET​

Browser navigation: pass client context (client_id or oauth_client, as listed below), optional redirect_uri and pkce_session_id. The response is an HTML form. Preserve its hidden inputs and session cookie.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
queryredirect_uri''
querypkce_session_idnot supplied
queryclient_idnot supplied
queryoauth_clientnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

POST​

Submit the rendered form as application/x-www-form-urlencoded, including its CSRF token where rendered, session cookie and hidden OAuth parameters. Main form fields: email, oauth_client. Errors are rendered into HTML and may still have HTTP 200. Prefer the JSON endpoint for programmatic integration.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
formemailnot supplied
formoauth_clientnot supplied
formredirect_uri''
formpkce_session_idnot supplied
querypkce_session_idnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

/e/v1/auth/reset-password/​

Hosted reset confirmation.

GET​

Browser navigation: pass client context (client_id or oauth_client, as listed below), optional redirect_uri and pkce_session_id. The response is an HTML form. Preserve its hidden inputs and session cookie.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
queryredirect_uri''
queryemail''
querycode''
querypkce_session_idnot supplied
queryclient_idnot supplied
queryoauth_clientnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.

POST​

Submit the rendered form as application/x-www-form-urlencoded, including its CSRF token where rendered, session cookie and hidden OAuth parameters. Main form fields: email, code, new_password, confirm_password, oauth_client. Errors are rendered into HTML and may still have HTTP 200. Prefer the JSON endpoint for programmatic integration.

Request fields (combine with the requirements and schema above):

LocationFieldFallback when absent
formemailnot supplied
formcodenot supplied
formnew_passwordnot supplied
formconfirm_passwordnot supplied
formoauth_clientnot supplied
formredirect_uri''
formpkce_session_idnot supplied
querypkce_session_idnot supplied
Success and error response examples

Illustrative values; conditional branches are alternatives. Fields vary with the operation and account configuration.

200 — html

HTML or text/XML response; do not parse as JSON.