nasibeyyubov
nasibeyyubov

Reputation: 2641

android using jwt authentication right way

I am currently building an application that uses JWT authentication. I've build this rest-api using nodejs,mongodb.

Right now there is not expire duration for access tokens(i know it is not safe, but anyway). What do you think is the best option to store access token in phone? There are several opinions like AccountManager and SharedPreferences(the one currently i am using). But as we all know they aren't the secure.

Is using EncryptedSharedPreferences the right way? or do you have any suggestions?

Upvotes: 0

Views: 409

Answers (0)

Related Questions