okman-app

Nodes đăng nhập OTP và lưu Credential cho n8n (OKMAN app)

Package Information

Released: 9/25/2025
Downloads: 0 weekly / 16 monthly
Latest Version: 0.1.0

Documentation

n8n-nodes-okman-app

Node OKMAN Login hỗ trợ:

  • Operation Login: gửi username/password, trả thông tin cần thiết để xác thực OTP.
  • Operation Verify OTP: xác thực mã OTP và lưu Credential (cookies + UA + deviceId + culture + tenantId) để tái sử dụng.

Cách dùng:

  1. Cài gói vào n8n và build tạo dist/.
  2. Tạo Credential N8nApi (baseUrl, apiKey) để node có thể tạo Credential kết quả qua REST n8n.
  3. Workflow:
    • Bước 1: OKMAN Login (Login) → lấy deviceId, token, cookiesSeed.
    • Bước 2: OKMAN Login (Verify OTP) → truyền token + otp + deviceId/culture/tenantId/userAgent/cookiesSeed → nhận credentialId.
  4. Dùng Credential đã tạo trong các node tiếp theo để gọi API protected.

Discussion