Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support SERVER_SECRET rotations gracefully #9360

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

mattkrick
Copy link
Member

@mattkrick mattkrick commented Jan 18, 2024

Description

support server secret rotations without our app trying to DOS us.
before the client would see it failed to connect & keep retrying forever because it had succeeded in the past.
now it realized that just because it succeeded in the past, it may not succeed now.

Demo

https://www.loom.com/share/891a552c4f3c4e3d99d5f71d9dcdcdcb?sid=00bfa14e-60e7-406f-8ebf-68c42ebb3723

Testing scenarios

  • can rotate secret while a client is connected. they get logged out
  • a client with an old token visits the app & goes to the auth page

Signed-off-by: Matt Krick <matt.krick@gmail.com>
@nickoferrall nickoferrall merged commit 53fe4c9 into master Jan 22, 2024
7 checks passed
@nickoferrall nickoferrall deleted the fix/server-secret branch January 22, 2024 17:48
@github-actions github-actions bot mentioned this pull request Jan 23, 2024
24 tasks
mattkrick added a commit that referenced this pull request Jan 23, 2024
* fix: handle breaking syntax in pr body (#9368)

Signed-off-by: Matt Krick <matt.krick@gmail.com>

* feat: support SERVER_SECRET rotations gracefully (#9360)

Signed-off-by: Matt Krick <matt.krick@gmail.com>

* chore: Prettify "Time's up" Slack message (#9352)

* chore: Prettify "Time's up" Slack message

* Prettify Mattermost as well

* feat: Add recurring retros (#9311)

* chore: Add recurring retros feature flag

* Make it an org flag

* feat: Recurring retros

* Only show the recurring settings if the feature flag is set

* Formatting

* Add processRecurrence test for retros

* Remove debug output

* Minor fixes

* Fix recurrence label colours in meeting dash

* fix: render activity library tooltip (#9376)

* chore(release): release v7.14.0 (#9369)

Co-authored-by: parabol-release-bot[bot] <150284312+parabol-release-bot[bot]@users.noreply.github.com>

---------

Signed-off-by: Matt Krick <matt.krick@gmail.com>
Co-authored-by: Matt Krick <matt.krick@gmail.com>
Co-authored-by: Georg Bremer <github@dschoordsch.de>
Co-authored-by: Nick O'Ferrall <nickoferrall@gmail.com>
Co-authored-by: parabol-release-bot[bot] <150284312+parabol-release-bot[bot]@users.noreply.github.com>
jordanh pushed a commit that referenced this pull request Feb 8, 2024
Signed-off-by: Matt Krick <matt.krick@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants