mrparkers / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
MIT License
607 stars 295 forks source link

access_token_lifespan not rollback #870

Open StManolo opened 11 months ago

StManolo commented 11 months ago

Hello, When I set "access_token_lifespan" in keycloak_openid_client to customize the token lifetime and perform a rollback, the provider does not perform the rollback with the default value. It leaves the previous value set.

Default values: image

Thanks

Keycloak 21.1.1

and-ratajski commented 11 months ago

Not sure if that's the case but when setting custom Access Token Lifespan you have to also set the SSO Session Max in the realm settings - if you won't, the lowest value will be taken.

image
StManolo commented 11 months ago

If I fill in the value the 1st time and then remove it, no value is modified. It doesn't reset the default value.