}
@Override
public Object decodeToken(String token) {
JWTVerifier jwtVerifier = new JWTVerifier(clientSecret, clientId);
Map<String, Object> verify;
try {
verify = jwtVerifier.verify(token);
String payload = (String) verify.get("$");
@SuppressWarnings("unchecked")
Map<String, String> map = new ObjectMapper().readValue(payload, Map.class);
return map;