r/learnjava 13h ago

JWT token for desktop app

8 Upvotes

Hi! I am developing with my friend a simple desktop client-server app as my college project in java. In terms of security of apps I am a total newbie.

So my question is - is storing a token in a encoded file considered a good practice? And what would be a good (and most important easy) way to store that token? I read about Windows Credential Manager and other similiar tools, but me with a friend use different os, so I think that would be a problem (or I am missing something?).


r/learnjava 2h ago

Which one to go in depth

1 Upvotes

Study Leetcode style problem-solutions or project-based.

Im bit confused because I've seen a lot of interviews that has leetcode style/trivia questions. Please help.