From c2e0c8c37c3047886e9cf4975fc2aea5f3c42dd0 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Tue, 21 Jun 2022 09:50:23 +0200 Subject: [PATCH] docs: add curl for introspection_endpoint with basic auth (#3851) --- docs/docs/apis/openidoauth/endpoints.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/apis/openidoauth/endpoints.md b/docs/docs/apis/openidoauth/endpoints.md index 7b5b217e8..530a3a60c 100644 --- a/docs/docs/apis/openidoauth/endpoints.md +++ b/docs/docs/apis/openidoauth/endpoints.md @@ -344,6 +344,14 @@ Depending on your authorization method you will have to provide additional param Send your `client_id` and `client_secret` as Basic Auth Header. Check [Client Secret Basic Auth Method](authn-methods#client-secret-basic) on how to build it correctly. +```BASH +curl --request POST \ + --url {your_domain}/oauth/v2/introspect \ + --header 'Content-Type: application/x-www-form-urlencoded' \ + --header 'Authorization: Basic {your_basic_auth_header}' \ + --data token=VjVxyCZmRmWYqd3_F5db9Pb9mHR5fqzhn... +``` +