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:
[X] commenters
[ ] moderators
[ ] admins
[ ] developers
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?
Start up npm run watch on both server and client
Login to the stream at http://localhost:8080 with a user account
Stop the Coral server watch task (shut down the server)
Delete your coral database in Mongo
Start up the server with npm run start:development
Install a new tenant at http://localhost:3000/install
Stop the server again
Resume npm run watch for the server
Navigate to http://localhost:8080
See that the stream obliterates the coral:v2:accessToken storage key and the stream shows up in the signed out state
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?
npm run watch
on both server and clienthttp://localhost:8080
with a user accountcoral
database in Mongonpm run start:development
http://localhost:3000/install
npm run watch
for the serverhttp://localhost:8080
coral:v2:accessToken
storage key and the stream shows up in the signed out stateWere any tests migrated to React Testing Library?
No
How do we deploy this PR?
No special considerations.