Skip to content

Clarify Token Instrospection endpoint #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/hydra/oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,10 @@ determine meta-information about this token. OAuth 2.0 deployments can use this
method to convey information about the authorization context of the token from
the authorization server to the protected resource.

The usage of an access token or client credentials is required to access the
endpoint. ORY Hydra will however accept any valid token or valid credentials as
there is no built-in access control.

You can find more details on this endpoint in the
[ORY Hydra API Docs](https://www.ory.sh/docs/). You can also use the CLI command
`hydra token introspect <token>`.
Expand Down
6 changes: 6 additions & 0 deletions docs/hydra/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ endpoints include:
None of the administrative endpoints have any built-in access control. You can
do simple `curl` or Postman requests to talk to them.

The Token Introspection endpoint requires authentication. But since there is no
access control, any valid authentication enables the endpoint to be used. If
you need to access this endpoint in production, you should configure your API
Gateway or Application Proxy to restrict which clients have access to the
endpoint.

We generally advise to run ORY Hydra with `hydra serve all` which listens on
both ports in one process. Please be aware that the `memory` backend will not
work in this mode.
Expand Down