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

fix(metabase): fix session token refresh #32

Merged

Conversation

AdamSelene
Copy link

What does this PR do?

Metabase session token is automatically refreshed when a 401 error is encountered and the original query is automatically retried.
But the retry would use the previous (invalid) token, thus yielding another 401
This PR updates the retry payload to actually use the new token 🤦

Copy link
Author

AdamSelene commented Apr 24, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AdamSelene and the rest of your teammates on Graphite Graphite

@AdamSelene AdamSelene changed the base branch from olivier-sambourg/chore-metabase-rename-session-token-key-in-store to main April 24, 2024 12:03
@AdamSelene AdamSelene force-pushed the olivier-sambourg/fix-metabase-fix-session-token-refresh branch from ff4448a to 13eb727 Compare April 24, 2024 12:03
@AdamSelene AdamSelene merged commit f27985c into main Apr 25, 2024
12 of 13 checks passed
@AdamSelene AdamSelene deleted the olivier-sambourg/fix-metabase-fix-session-token-refresh branch April 25, 2024 07:55
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.

1 participant