ossn / ossn-frontend

The homepage of Mozilla's Open Source Student Network
https://ossn.club
MIT License
4 stars 11 forks source link

Move token handling at auth wrapper #230

Closed dpliakos closed 5 years ago

dpliakos commented 5 years ago

To persist user location, I added an entry at the local storage which is updated when the user clicks at the auth-wrapper's login button and consumed/removed when a token is present at the url.

The parameters of the user are saved at the local storage too.

I could not update the the #189 from my fork, so I am creating a new Pull request.

alexdor commented 5 years ago

The changes have been merged to master