coralproject / talk

A better commenting experience from Vox Media
https://coralproject.net
Other
1.89k stars 355 forks source link

[CORL-3008] when auth token is invalid, clear it and reload the stream #4472

Closed nick-funk closed 8 months ago

nick-funk commented 9 months ago

What does this PR do?

Makes it so that the stream clears the user's auth token when it is invalid or expired and reloads the stream so they can view comments, log in again, and continue using Coral.

These changes will impact:

What changes to the GraphQL/Database Schema does this PR introduce?

None

Does this PR introduce any new environment variables or feature flags?

No

If any indexes were added, were they added to INDEXES.md?

No new indices

How do I test this PR?

Were any tests migrated to React Testing Library?

No

How do we deploy this PR?

No special considerations.

netlify[bot] commented 9 months ago

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
Latest commit 4b16a9eacba0576d407229672e7aec40f6fedd93
Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/659448e44d44bd0008cde477