OK Thanks. Didn't know that. I am using Base64.decode() to decode the different parts of a jwt token that do not have the `==` suffix. I will just add this at the end of all my jwt parts before decoding them as it seems to fix the issue.
On Wednesday, April 25, 2018 at 7:33:31 AM UTC+2, Shai Almog wrote: > > You need to terminate a base64 string with ==. It can work without it in > some decoders but that's the standard. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e6b07f3e-3419-4230-a9c9-6de766945df9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
