post
https://bo-api.staging.wedbush.tech/v1/auth/introspect
This endpoint is used by protected resources to query information about an OAuth 2.0 token.
Usage
- Accepts a token in the request body.
- Returns metadata including
active,client_id,exp,scope, etc. - If the token is not recognised or has expired,
activewill befalse.
Security
- Requires Basic authentication using a registered OAuth client's credentials.
Endpoint Protection:
- HarborBasicTokenAuthGuard: Refer to guard documentation for details.
Examples:
- Introspect a valid token: Returns active: true if token is valid and not expired.
{
"token": "SlAV32hkKG"
}- Introspect an expired token: Returns active: false if token is expired or revoked.
{
"token": "expiredTokenValue"
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Returns token metadata if valid, or active: false.
401Unauthorized - Basic auth failed or OAuth client is not recognised.