When I do:
```
String encoded = "eyJ1c2VySWQiOiIxMSIsImlhdCI6MTUyNDYxNzU3MywiZXhwIjoxNTI0NzAzOTczLCJhdWQiOiJodHRwczovL3lvdXJkb21haW4uY29tIiwiaXNzIjoiZmVhdGhlcnMiLCJzdWIiOiJhbm9ueW1vdXMiLCJqdGkiOiIwMjYyYzM4MS05Njg4LTRjMDItYWIxOS0wNDQ4MTdjMjkxMmYifQ";
System.out.println("Decoded :"+new String(Base64.decode(encoded.getBytes())));
```
the result I get is:
```
Decoded :{"userId":"11","iat":1524617573,"exp":1524703973,"aud":"
https://yourdomain.com","iss":"feathers","sub":"anonymous","jti":"0262c381-9688-4c02-ab19-044817c2912f"
```
```
{"userId":"11","iat":1524617573,"exp":1524703973,"aud":"
https://yourdomain.com","iss":"feathers","sub":"anonymous","jti":"0262c381-9688-4c02-ab19-044817c2912f" }
```
Notice the extra '}' at the end of the decoded String.
So it looks like the Base64.decode() function is bugged and strip some final characters in some cases...
IDE: Eclipse
Windows 10 x64
Simulator