Skip to content

Commit

Permalink
Extend policy JWKS cache duration to one day
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Apr 10, 2024
1 parent b34cad5 commit 655580b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policy/token.rego
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fetch_jwks(url) := http.send({
"url": jwks_url,
"method": "GET",
"force_cache": true,
"force_cache_duration_seconds": 3600,
"force_cache_duration_seconds": 86400,
})

jwks_endpoint := opa.runtime().env.JWKS_ENDPOINT
Expand Down

0 comments on commit 655580b

Please sign in to comment.