mycoralhealth / mycoral-patient

Mobile app for patients to interact with Coral Health blockchain
17 stars 7 forks source link

Per user store and logout #42

Closed grcevski closed 6 years ago

grcevski commented 6 years ago

This PR introduces per user local storage keyed off the email address retuned after login. I also added a logout button that handles the UI flow of the action, but I'm not 100% sure it works, after a bit I simply couldn't login to Auth0 anymore. @lukecyca I wonder if we need to hit a logout endpoint on the server that clears the session with auth0 as part of the logout process.

I'll try a bit later.