mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:57:32 +00:00
docs: add curl for introspection_endpoint with basic auth (#3851)
This commit is contained in:
@@ -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.
|
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>
|
||||||
|
|
||||||
<TabItem value="private_key_jwt">
|
<TabItem value="private_key_jwt">
|
||||||
|
Reference in New Issue
Block a user