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)

Logout endpoint

Đăng xuất

PreviousRefresh tokenNextProfile endpoint

Last updated 4 years ago

Was this helpful?

/oauth2/sessions/logout

GET https://oauth-qc.vinid.dev/oauth2/sessions/logout

Query Parameters

Name
Type
Description

post_logout_redirect_uri

string

id_token_hint

string

Tham số

Định dạng

Mô tả

Ví dụ

id_token_hint

string

id_token

post_logout_redirect_uri

string

Url để điều hướng tới sau khi logout thành công

state

string

Tham số ngẫu nhiên của post_logout_redirect_uri

post_logout_redirect_uri = urlencode(https://your_redirect_page?state=example)

  • frontchannel_logout_uri được sử dụng để OneID hủy token đối với frontend app.

GET https://yourapp.test/frontchannel_logout?iss=https://oauth-dev.vinid.dev/&sid=08a5019c-17e1-4977-8f42-65a12843ea02
  • backchannel_logout_uri được sử dụng để OneID hủy token đối với backend app.

POST /backchannel_logout HTTP/1.1
Host: yourapp.test
Content-Type: application/x-www-form-urlencoded

logout_token=eyJhbGci ... .eyJpc3Mi ... .T3BlbklE ...
Logout sequence diagram