terraform-provider-keycloak icon indicating copy to clipboard operation
terraform-provider-keycloak copied to clipboard

Fix 919 provider crash

Open TBeijen opened this issue 1 year ago • 0 comments

Fix for #919

Always refresh token after create realm.

Rationale is this should not be expensive since:

  • Creating a realm is relatively rare
  • In a lot of scenarios the token refresh would happen anyway if a new realm is created, when it's referenced elsewhere

Existing acceptance test testKeycloakDefaultRoles_basic should cover this, provided the acceptance tests include Keycloak v22 and newer. For that, the following PRs exist:

  • #921 Test Keycloak images for v22 & v23
  • #920 Include v22 in acc. tests (draft, pending #921)

TBeijen avatar Jan 19 '24 06:01 TBeijen