Logout

/session/end

Redirect link for Logout

เป็น Redirect link ที่ให้เปิดออกไปที่ site IDP แล้ว IDP จะทำการ logout client นั้นให้ จากนั้นจะ redirect กลับไปที่ redirect_uri ที่ส่งมา

*หมายเหตุ: ก่อนเรียก redirect IDP Logout ควรจัดการ logout data ที่ app ตัวเองก่อน (ลบ state login หรือ access_token ที่เก็บไว้ที่ app)

Query Parameters
  • redirect_uri
    required
    string

    Callback url eg. https://{domain}/home

Responses
  • 204

    There is no content to send for this request, but the headers may be useful.

GET/session/end
Shell cURL
curl --request GET \
  --url 'https://dpt-idp.finema.dev/session/end?redirect_uri='
No Body
0.0.0
OAS 3.0.0

IDP API

Client Libraries
Shell
Ruby
Node.js
PHP
Python
C
More

Logout

/session/end

Redirect link for Logout

เป็น Redirect link ที่ให้เปิดออกไปที่ site IDP แล้ว IDP จะทำการ logout client นั้นให้ จากนั้นจะ redirect กลับไปที่ redirect_uri ที่ส่งมา

*หมายเหตุ: ก่อนเรียก redirect IDP Logout ควรจัดการ logout data ที่ app ตัวเองก่อน (ลบ state login หรือ access_token ที่เก็บไว้ที่ app)

Query Parameters
  • redirect_uri
    required
    string

    Callback url eg. https://{domain}/home

Responses
  • 204

    There is no content to send for this request, but the headers may be useful.

GET/session/end
Shell cURL
curl --request GET \
  --url 'https://dpt-idp.finema.dev/session/end?redirect_uri='
No Body