1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Added comment

This commit is contained in:
M66B 2020-07-02 14:56:29 +02:00
parent f0426224ea
commit c8866903f3

View file

@ -408,6 +408,7 @@ public class FragmentOAuth extends FragmentBase {
String[] segments = jwt.split("\\."); String[] segments = jwt.split("\\.");
if (segments.length > 1) if (segments.length > 1)
try { try {
// https://jwt.ms/
String payload = new String(Base64.decode(segments[1], Base64.DEFAULT)); String payload = new String(Base64.decode(segments[1], Base64.DEFAULT));
EntityLog.log(context, "jwt payload=" + payload); EntityLog.log(context, "jwt payload=" + payload);
JSONObject jpayload = new JSONObject(payload); JSONObject jpayload = new JSONObject(payload);