Closed jpoiron closed 10 months ago
Hi @jpoiron, thanks for the addition. Could you add test coverage for this in resource_fusionauth_tenant_test.go
as well?
Sure, no problem. Now to figure out how to write tests... :)
@mmanes I have updated the tests. Hopefully I did it correctly.
I forgot to try running linting though. Doing that now.
@mmanes Linting errors fixed.
Version 1.46.0 of FusionAuth introduced the following new configuration options for
tenant.jwtConfiguration
:refreshTokenExpirationPolicy
:SlidingWindowWithMaximumLifetime
refreshTokenSlidingWindowConfiguration.maximumTimeToLiveInMinutes
See: https://fusionauth.io/docs/v1/tech/apis/tenants
These changes aim to allow managing these values via the terraform provider. Specifically:
SlidingWindowWithMaximumLifetime
as an allowed value forjwt_configuration
.refresh_token_expiration_policy
refresh_token_sliding_window_maximum_time_to_live_in_minutes
tojwt_configuration
for setting a custom TTL value