News for hackers. Stuff that matters.
Re:Show HN: Reddish – an open-source Reddit clone. MERN and ... by amand33p on Sunday March 07, 2021 @07:46AM (#26375459)
Re:Show HN: Reddish – an open-source Reddit clone. MERN and ... by Graffur on Monday March 08, 2021 @03:36AM (#26383452)
Can users log out? What happens if a user's token is stolen? Can it be invalidated?
Re:Show HN: Reddish – an open-source Reddit clone. MERN and ... by amand33p on Tuesday March 09, 2021 @05:44AM (#26397455)
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.

Re:Show HN: Reddish – an open-source Reddit clone. MERN and ... by Graffur on Tuesday March 09, 2021 @02:33PM (#26402934)
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.

Re:Show HN: Reddish – an open-source Reddit clone. MERN and ... by approxim8ion on Sunday March 07, 2021 @06:47AM (#26375126)
Functionally pretty awesome, congratulations on a great project!

Dark theme is very low-contrast though.

Re:Show HN: Reddish – an open-source Reddit clone. MERN and ... by amand33p on Sunday March 07, 2021 @07:29AM (#26375371)
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.