Handle Signup
Completes the signup process for new users by setting their username. Requires a valid signup token from HandleLogin.
Authentication: None required (signup token required)
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Token received during signup.
uuidDesired username.
1 <= length <= 64Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AuthService/HandleSignup" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresAt": "2023-01-15T01:30:15.01Z",
"sessionToken": "string"
}Handle Login POST
Processes the OAuth callback from an identity provider. Returns a login token (existing user), a signup token (new user), or an mfa challenge token (existing user with org-account 2FA). **Authentication:** None required
Mark Device Login POST
Approves or denies a pending device login as the calling account. On approval the waiting browser is signed in as the caller the next time it polls. Callable only with a portal session token. **Required scopes:** `auth:account:edit`