Skip to content

Add configuration for TOTP authentication interval#6547

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/explicitly-configure-totp-interval
Jul 5, 2022
Merged

Add configuration for TOTP authentication interval#6547
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/explicitly-configure-totp-interval

Conversation

@mitchellhenke
Copy link
Contributor

This PR is to primarily support the changes in #6545

Our current setting is the default interval of 30 seconds and we do not want to change it (it is also correctly consistent with RFC 6238).

A single TOTP is valid only once in an interval, and the default of 30 seconds does not always work well in tests where we may be logging in multiple times.

This PR adds the configuration to allow setting the interval and explicitly sets the interval to the configured value.

changelog: Internal, Authentication, Explicitly configure TOTP authentication interval
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mitchellhenke mitchellhenke merged commit a47c864 into main Jul 5, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/explicitly-configure-totp-interval branch July 5, 2022 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants