Hacker News new | ask | show | jobs
Show HN: Reddish – an open-source Reddit clone. MERN and Redux (github.com)
10 points by amand33p 1923 days ago
3 comments

Can users log out? What happens if a user's token is stolen? Can it be invalidated?
Yes, they can logout.

Sadly, JWT can be stolen, because my app stores them in local storage. It's a portfolio project, so I didn't use safer methods like cookies.

So then logging out just logs them out in their own client?

edit: fair enough if it's a portfolio project. I didn't see that here or on the site itself.

Functionally pretty awesome, congratulations on a great project!

Dark theme is very low-contrast though.

Thanks!

Yes, I agree about dark theme color. It's the default color Material-UI provides, if I'm not wrong. Gotta search on how to override it.