Skip to main content
Version: v1.10

hydra token introspect

hydra token introspect#

Introspect an access or refresh token

hydra token introspect <token> [flags]

Options#

      --access-token string    Set an access token to be used in the Authorization header, defaults to environment variable OAUTH2_ACCESS_TOKEN      --client-id string       This field is DEPRECATED and has no effect. Use the provided OAuth 2.0 Client ID, defaults to environment variable OAUTH2_CLIENT_ID      --client-secret string   This field is DEPRECATED and has no effect. Use the provided OAuth 2.0 Client Secret, defaults to environment variable OAUTH2_CLIENT_SECRET      --endpoint string        Set the URL where ORY Hydra is hosted, defaults to environment variable HYDRA_ADMIN_URL  -h, --help                   help for introspect      --scope strings          Additionally check if scope was granted

Options inherited from parent commands#

      --fail-after duration    Stop retrying after the specified duration (default 1m0s)      --fake-tls-termination   fake tls termination by adding "X-Forwarded-Proto: https" to http headers      --skip-tls-verify        Foolishly accept TLS certificates signed by unknown certificate authorities

SEE ALSO#