Chuyển đến nội dung chính
POST
https://api-gw.verolabs.co/api/authen
/
self-service
/
login
Gửi thông tin đăng nhập vào luồng login
curl --request POST \
  --url https://api-gw.verolabs.co/api/authen/self-service/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "csrf_token": "<string>",
  "password_identifier": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "session_token": "<string>",
  "session": {
    "id": "<string>",
    "active": true,
    "identity": {
      "id": "<string>",
      "traits": {}
    },
    "tokenized": "<string>"
  },
  "identity": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

Use this file to discover all available pages before exploring further.

Tham số truy vấn

flow
string
bắt buộc

Ory flow id returned by the corresponding create flow endpoint.

Nội dung

application/json
method
enum<string>
bắt buộc
Tùy chọn có sẵn:
password
csrf_token
string
bắt buộc
password_identifier
string<email>
bắt buộc
password
string<password>
bắt buộc

Phản hồi

Successful login flow response. The app reads session_token from this payload.

session_token
string
session
object
identity
object