Added comment

pull/183/head
M66B 5 years ago
parent f0426224ea
commit c8866903f3

@ -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);

Loading…
Cancel
Save