1795 auth redirect newsfeed #1841
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a pop-up modal for logged-out users attempting to access auth-required pages(newsfeed page). After successful authentication, users are redirected back to the originally requested page.If the user closes the modal, they are redirected to the homepage.
Checklist
Screenshots
Login/Signup Modal for Logged-Out Users

Known issues
On authorized(log in) newsfeed page, there’s a brief flash of the modal if refresh the page.
When user log out on newsfeed page will redirect to homepage and modal will also be triggered.
Steps to test/reproduce
For each feature or bug fix, create a step by step list for how a reviewer can test it out. E.g.: