OpenapiAuth
Verify an email OTP login code and issue a session.
On a matching code: consumes it (one-time), then either logs the existing user in (login-as-consent gate) or auto-registers a new account (create-without-password → activate → register-as-consent) and issues a Bearer token family via `RedisBrowserTokenService`. Returns `BrowserTokenResponse`.
POST
On a matching code: consumes it (one-time), then either logs the existing
user in (login-as-consent gate) or auto-registers a new account
(create-without-password → activate → register-as-consent) and issues a
Bearer token family via RedisBrowserTokenService. Returns BrowserTokenResponse.
realmId*stringRealm ID
application/json- body
agreements?array<>|nullclientId*stringcode*stringemail*stringturnstileToken?string|nullVerification successful
application/json- response
accessToken*stringexpiresIn*integerFormat
int64Range
0 <= valuerefreshExpiresIn*integerFormat
int64Range
0 <= valuerefreshToken*stringtokenType*stringcurl -X POST 'https://example.com/api/auth/string/login/email-otp/verify' \
-H 'Content-Type: application/json' \
-d '{
"clientId": "string",
"code": "string",
"email": "string"
}'Example Response
{
"accessToken": "string",
"expiresIn": 0,
"refreshExpiresIn": 0,
"refreshToken": "string",
"tokenType": "string"
}