1. Docs
  2. API Reference
  3. OAuth hosted login: self-signup page

OAuth hosted login: self-signup page

GET/oauth/register

Hosted self-signup page, shown only when the client's Environment enables allow_self_signup (otherwise the login page is rendered instead). Carries the OAuth authorize parameters through so the flow resumes after the new identity verifies its email. On a passwordless (code-only) Environment it renders the email-OTP view, which self-provisions the identity on first code verification, rather than a password-bearing register form.

Query Parameters

client_idstring Required
redirect_uristring Required
response_typestring Required
scopestring Required
statestring Required
code_challengestring Required
code_challenge_methodstring Required
noncestring Required

Responses

text/html

string

A redirect to the client's `redirect_uri` with `error` and `state`: the client and its `redirect_uri` are verified but the request is refused (an unsupported `response_type`, `code_challenge_method` or scope, or a malformed `organization`)

application/json

  • errorApiErrorBodyDto*
Request
curl -X GET "https://auth.canopy-io.com/oauth/register?client_id=value&redirect_uri=value&response_type=value&scope=value&state=value&code_challenge=value&code_challenge_method=value&nonce=value"
Response
Content-Type: text/html

<!doctype html>
<html lang="en">
  <head>…</head>
  <body>
    <!-- The hosted page: its form, any error, and the Environment's branding -->
  </body>
</html>
Related endpoints Was this page helpful?

Tell us how we can improve this guide.