authentik icon indicating copy to clipboard operation
authentik copied to clipboard

TF updates don't refresh current user

Open szinn opened this issue 2 years ago • 2 comments

Describe the bug I'm using Terraform to populate my config. If I am logged in to Authentik and am at the main user interface screen and update the config, say meta_icon for an application, the UI doesn't get updated, even with a browser page reload.

I think this applies to user groups, properties etc.

It appears that information from the database is cached and, in my experience, that is a bug waiting to happen.

To Reproduce Steps to reproduce the behavior:

Description is sufficient

Expected behavior Icon / information gets refreshed.

Screenshots If applicable, add screenshots to help explain your problem.

Logs Output of docker-compose logs or kubectl logs respectively authentik: 2024.2.0 deployment: helm

  • authentik version: [e.g. 2021.8.5]
  • Deployment: [e.g. docker-compose, helm]

Additional context Add any other context about the problem here.

szinn avatar Mar 24 '24 12:03 szinn

This is a special case for applications and especially for the user interface's application list, that list is cached quite heavily due to listing applications like that otherwise needing to run all policies However any other API endpoint is not cached like that.

BeryJu avatar Mar 24 '24 16:03 BeryJu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.