Implemented persistent authentication, added log out mechanism, and fixed some bugs from the schema change
Current Behavior:
User needs to re-authenticate with Github when the page is reloaded
Proposed Changes:
Added persistent authentication by adding cookies to store the logged in user
Issue Number(s): Closes #28
How Has This Been Tested?
Testing steps:
When the user first opens the page, a Login with Github button is present for them to log in
After the user logs in, a Log Out button is present
When the user navigates to another view and returns to the home page, the user is still logged in
When the user selects Log Out, the Login with Github button is present and the Log Out button is hidden
Pull request type
Please check the type of change your PR introduces:
- [x] Bugfix (in sprints.js)
- [x] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## Checklist
Please check if your PR fulfills the following requirements:
- [x] All new and existing tests passed
- [ ] Tests for the changes have been added (couldn't figure out how to test the login button with the github auth workflow)
- [x] Docs have been reviewed and added / updated if needed
- [x] My code follows the code style of this project and lint has passed locally
Description
Implemented persistent authentication, added log out mechanism, and fixed some bugs from the schema change
Current Behavior:
Proposed Changes:
Issue Number(s): Closes #28
How Has This Been Tested?
Testing steps:
Pull request type
Please check the type of change your PR introduces: - [x] Bugfix (in sprints.js) - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## Checklist Please check if your PR fulfills the following requirements: - [x] All new and existing tests passed - [ ] Tests for the changes have been added (couldn't figure out how to test the login button with the github auth workflow) - [x] Docs have been reviewed and added / updated if needed - [x] My code follows the code style of this project and lint has passed locally