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

Revert API token fetch #84

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Revert API token fetch #84

merged 2 commits into from
Nov 26, 2024

Conversation

briskt
Copy link
Contributor

@briskt briskt commented Nov 26, 2024

Removed

  • Removed code that calls an endpoint on the management API to get a new token. We observed timing issues related to cookie expiration differences between the static site and the management API. The latter cookie (and session) expiry being extended when accessed, but the static site cookie not being extended, caused an observable discrepancy between static site access level and access level shown on the management page.

@briskt briskt requested a review from a team as a code owner November 26, 2024 03:19
@briskt briskt requested review from jason-jackson and hobbitronics and removed request for a team November 26, 2024 03:19
Copy link

@hobbitronics hobbitronics left a comment

Choose a reason for hiding this comment

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

Looks good

@briskt briskt merged commit 4453e2f into main Nov 26, 2024
4 checks passed
@briskt briskt deleted the revert-token-api branch November 26, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants