flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

[Web] Cannot read value of JWT token

Open TykanN opened this issue 2 years ago • 2 comments

flutter_secure_storage throws Uncaught Error, reading jwt value from storage at WEB

Maybe the decyrption fails for certain characters. But I also think "it doesn't make sense", because JWT has url-safe-BASE64 characters with .(dot) character. it means JWT is a very common form of encoding.

so If this pacakage has an issue with decyrpt encrypted JWT, there is a big problem with the encryption method of this package.

Does this problem only happen to me?

I keep the following conditions well.

  1. https
  2. call a function "read" with await keyword.

*iOS/Android works fine. **Not all JWT tokens are having trouble reading. Some tokens are read without error.

TykanN avatar Oct 07 '23 16:10 TykanN

@TykanN The same issue. Did you fix it?

Artem-S1 avatar Nov 25 '23 11:11 Artem-S1

@TykanN The same issue. Did you fix it?

I have the same question too

zamirszn avatar Apr 15 '24 12:04 zamirszn

I am closing all older issues. If this issue still exists in the latest version, please let me know.

juliansteenbakker avatar Aug 13 '24 20:08 juliansteenbakker