OAuth hosted login: self-signup page
/oauth/registerHosted 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
stringA 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
error *ApiErrorBodyDto
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"
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>Tell us how we can improve this guide.