Skip to content
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

chore: add oathkeeper authn oauth2 introspection max_cost configuration #1819

Merged
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
3 changes: 2 additions & 1 deletion docs/oathkeeper/pipeline/authn.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ This authenticator will use the username from the HTTP Basic Authorization heade
false.
- `ttl` (string) - Can override the default behavior of using the token exp time, and specify a set time to live for the token
in the cache. If the token exp time is lower than the set value the token exp time will be used instead.
- `max_tokens` (int) - Max number of tokens to cache.
- `max_tokens` (int) - Max number of tokens to cache. Defaults to 1000.
- `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 Expand Up @@ -606,6 +606,7 @@ Token Introspection to check if the token is valid and if the token was granted
false.
- `ttl` (string) - Can override the default behavior of using the token exp time, and specify a set time to live for the token
in the cache.
- `max_cost` (int) - Max cost to cache. Defaults to 100000000.

Please note that caching won't be used if the scope strategy is `none` and `required_scope` isn't empty. In that case, the
configured introspection URL will always be called and is expected to check if the scope is valid or not.
Expand Down
Loading