メインコンテンツへスキップ
POST
https://{yourDomain}
/
passwordless
/
verify
Verify
curl --request POST \
  --url https://{yourDomain}/passwordless/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "grant_type": "password",
  "client_id": "${account.clientId}",
  "connection": "email",
  "username": "USER_EMAIL_OR_PHONE",
  "password": "VERIFICATION_CODE",
  "redirect_uri": "https://yourapp.com/callback",
  "scope": "openid profile"
}
'

承認

Authorization
string
header
必須

Access token obtained from the authentication flow

ボディ

application/json
grant_type
string
必須

Grant type, must be password.

:

"password"

client_id
string
必須

The client_id of your application.

:

"${account.clientId}"

connection
enum<string>
必須

Use sms or email (should be the same as POST /passwordless/start).

利用可能なオプション:
email,
sms
:

"email"

username
string
必須

The user's phone number if connection=sms, or the user's email if connection=email.

:

"USER_EMAIL_OR_PHONE"

password
string
必須

The user's verification code.

:

"VERIFICATION_CODE"

redirect_uri
string
必須

Callback URL registered with your application's Allowed Callback URLs.

:

"https://yourapp.com/callback"

scope
string

Use openid to get an ID Token, or openid profile email to include user profile information in the ID Token.

:

"openid profile"

レスポンス

User authenticated successfully.