LogoLogo
  • Ứng dụng VinID
  • Giới thiệu chung
    • Dịch vụ thanh toán VinID Pay
    • Dịch vụ loyalty VinID Point
    • Quy trình tích hợp
  • Tài liệu tích hợp
    • Môi trường tích hợp
    • Quy tắc kết nối chung
      • Request Header
      • X-Key-Code
      • Signature - chữ kí điện tử
      • Ví dụ Request / Response
      • Extra Data
    • OneID SSO Integration (PKCE)
      • Auth endpoint
      • Token endpoint
      • Refresh token
      • Logout endpoint
      • Profile endpoint
      • OpenID Configuration
    • Tích hợp với VinID Pay
      • Thanh toán Merchant QR
      • Thanh toán Transaction QR
      • Thanh toán App to App
      • Thanh toán Web Payment
      • Thanh toán Linked Account
      • Dịch vụ chi hộ
      • Callback / IPN
      • Refund giao dịch
    • Tích hợp với VinID Loyalty
      • Dịch vụ lấy hạng thành viên trung thành
      • Dịch vụ VinID Giftcode
        • Deprecated APIs
      • Dịch vụ Topup VinID Point
        • Deprecated APIs
    • Tích hợp với VinID Voucher
      • Dịch vụ E-Voucher
    • Mã lỗi chung
  • Đối soát
    • Đối soát Ví điện tử VinID Pay
  • Khác
    • Thuật ngữ
    • Câu hỏi thường gặp
    • Ứng dụng quản lý
      • Merchant Mobile App
      • Merchant Website
    • Thông tin hỗ trợ
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Tài liệu tích hợp
  2. OneID SSO Integration (PKCE)

Auth endpoint

Token endpoint được thiết kế theo đặc tả tại https://tools.ietf.org/html/rfc6749#section-4

/oauth2/auth

GET https://oauth-qc.vinid.dev/oauth2/auth

API Này sử dụng cho luồng Authorization code (PKCE), sau khi authentication thành công, một authorization code (query parameter) sẽ được redirect về callback endpoint của ứng dụng.

Query Parameters

Name
Type
Description

code_challenge_method

string

code_challenge

string

state

string

scope

string

response_type

string

code

redirect_uri

string

client_id

string

Tham số

Định đạng

Mô tả

Ví dụ

client_id

string

1mg

redirect_uri

string

http://example.com/callback

response_type

string

code

scope

string

openid offline profile

state

string

code_challenge

string

code_challenge_method

string

S256

PreviousOneID SSO Integration (PKCE)NextToken endpoint

Last updated 4 years ago

Was this helpful?