docs: private Collection<String> getScopes(Jwt jwt) {
          Collection<String> result = new ArrayList<>();
          for (String attributeName : WELL_KNOWN_SCOPE_ATTRIBUTE_NAMES) {
              // Retrieve realm_access entry from access token
              JSONObject realm_access = (JSONObject) jwt.getClaims().get(attributeName);
              if (Objects.isNull(realm_access)) {
                  return Collections.emptyList();
              }
  
              // Retrieve roles from realm_access
              JSONArray roles = (JSONArray) realm_access.get("roles");
              if (Objects.isNull(roles)) {
                  return Collections.emptyList();
              }
  
              for (Object role : roles) {
                  result.add((String) role);
              }
          }
          return result;
      }