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

Allow to totally disable cache #778

Merged
merged 10 commits into from
Aug 7, 2024
Merged

Allow to totally disable cache #778

merged 10 commits into from
Aug 7, 2024

Conversation

federicaagostini
Copy link
Contributor

@federicaagostini federicaagostini commented May 31, 2024

Introduce a new property in order to totally disable cache for the well-known endpoint and scope requested + scope matchers. It can be achieved by setting the environment variable IAM_CACHE_ENABLED=false.

Changes in configuration: if you're using environment variables you won't be affected by any changes. If you're using redis caching mechanism directly through the redis-cache.enabled property you need to upgrade your configuration to:

cache:
  redis:
    enabled: true

Copy link

sonarcloud bot commented Jun 10, 2024

@enricovianello enricovianello merged commit 621570f into develop Aug 7, 2024
4 checks passed
@enricovianello enricovianello deleted the disable-cache branch August 7, 2024 15:12
Copy link

sonarcloud bot commented Aug 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants