angular-token
angular-token copied to clipboard
Save authData in local storage
trafficstars
Closes #530
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Documentation content changes
- [ ] Other... Please describe:
What is the current behavior?
Currently, when we sign in using OAuth in the same window the authData is not saved in local storage, this cause that the user is signed out each time the page is reloaded.
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No