Skip to main content

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
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
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.

Before using this flow, create the email_verification email template in the application's workspace. Saving a template does not send an email; submitting the registration, resend or reset form triggers the matching message.

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.

400 — 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
formoauth_client''
formredirect_uri''

Related schemas: PublicRegistration.

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.

Before using this flow, create the email_verification email template in the application's workspace. Saving a template does not send an email; submitting the registration, resend or reset form triggers the matching message.

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.

Before using this flow, create the reset_password email template in the application's workspace. Saving a template does not send an email; submitting the registration, resend or reset form triggers the matching message.

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
formredirect_urirequest.GET.get('redirect_uri', '')
formoauth_clientnot supplied
queryclient_idnot supplied
queryoauth_clientnot supplied
queryredirect_uri''
formpkce_session_idnot supplied
querypkce_session_idnot supplied
formemail''

See the operation notes for the response format and protocol behavior.

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.

Start with the reset-request form and use the code from that email with the same application context. Opening this form does not request a reset code.

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.