docs: add curl for introspection_endpoint with basic auth (#3851)

This commit is contained in:
Livio Spring 2022-06-21 09:50:23 +02:00 committed by GitHub
parent 1e278918b5
commit c2e0c8c37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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...
```
</TabItem>
<TabItem value="private_key_jwt">