Skip to content

Allow token to rotate when max expiry for token is less than one week

What does this MR do and why?

When the tokens rotated, it takes 7 days as the default expiration time. But it fails if the instance wide settings for maxium expiration is less than 7 days. This MR address that by choosing lowest among the default duration and and maximum expiration

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Fixes #422928 (closed)

Edited by Aboobacker MK

Merge request reports

Loading