Skip to content

Commit

Permalink
feat: timeout config for oauth2_client_credentials (#443)
Browse files Browse the repository at this point in the history
Closes #442
  • Loading branch information
catper authored May 23, 2020
1 parent ac90682 commit 2462fa3
Show file tree
Hide file tree
Showing 9 changed files with 417 additions and 198 deletions.
3 changes: 3 additions & 0 deletions .schema/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,9 @@
"items": {
"type": "string"
}
},
"retry": {
"$ref": "#/definitions/retry"
}
},
"required": [
Expand Down
3 changes: 3 additions & 0 deletions .schemas/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,9 @@
"items": {
"type": "string"
}
},
"retry": {
"$ref": "#/definitions/retry"
}
},
"required": [
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/pipeline/authn.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ header as the subject for this request.

- `token_url` (string, required) - The OAuth 2.0 Token Endpoint that will be
used to validate the client credentials.
- `retry` (object, optional) - Configures timeout and delay settings for the
request against the token endpoint
- `give_up_after` (string) timeout
- `max_delay` (string) time to wait between retries
- `required_scope` ([]string, optional) - Sets what scope is required by the URL
and when making performing OAuth 2.0 Client Credentials request, the scope
will be included in the request:
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: REST API
id: api
---



ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for
validity against a set of rules. This service uses Hydra to validate access
tokens and policies.
Expand Down
Loading

0 comments on commit 2462fa3

Please sign in to comment.