Skip to content

v0.1.99

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Nov 21:55
· 24 commits to main since this release
7924250
Add refresh token sliding window configuration (#243)

* Add refresh token sliding window configuration

Version 1.46.0 of FusionAuth introduced the following new configuration
options for `tenant.jwtConfiguration`:

1. `refreshTokenExpirationPolicy`: `SlidingWindowWithMaximumLifetime`
2. `refreshTokenSlidingWindowConfiguration.maximumTimeToLiveInMinutes`

See: https://fusionauth.io/docs/v1/tech/apis/tenants

These changes aim to allow managing these values via the terraform
provider. Specifically:

- Added `SlidingWindowWithMaximumLifetime` as an allowed value for
  `jwt_configuration`.`refresh_token_expiration_policy`
- Added `refresh_token_sliding_window_maximum_time_to_live_in_minutes`
  to `jwt_configuration` for setting a custom TTL value
- Updated documentation

* Update unit tests

Update tenant unit tests to verify
`refresh_token_sliding_window_maximum_time_to_live_in_minutes`

* Fix linting issues

Run linter and fix errors using `gofmt`