-
Notifications
You must be signed in to change notification settings - Fork 869
Jetpack: secrets expiration #6879
Copy link
Copy link
Closed
Labels
BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended[Feature] Manage
Description
There's a problem that is causing a recurrent error showing up in calypso's jetpack stats. We are generating the authorization-related secrets when the user visit the non-connected page. So if the user waits more than 10 minutes before they click on the "connect" button, or if they, for example, open the page again in another tab, and then click on connect on the first one, we are starting the authorization flow with an already outdated secret (which have been overwritten by another one).
How to replicate:
a)
- Get an unconnected site and open the jetpack tab.
- Wait 10 minutes
- Connect. You will get a connection error, then calypso will reattempt the connection and it should be successful on a second try
b) - Get an unconnected site and open the jetpack tab.
- Open the jetpack tab in a different tab
- Go back to the first tab and connect. You will get a connection error, then calypso will reattempt the connection and it should be successful on a second try
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended[Feature] Manage