@Override
    protected OAuth20IntrospectionAccessTokenResponse collectIntrospectionDetails(final OAuth20IntrospectionAccessTokenResponse response,
                                                                                  final OAuth20Token accessToken) {
        super.collectIntrospectionDetails(response, accessToken);

        if (accessToken instanceof final ServiceAwareTicket sat) {
            val service = sat.getService();
            val registeredService = oidcConfigurationContext.getObject().getServicesManager().findServiceBy(service, OidcRegisteredService.class);
            response.setIss(oidcConfigurationContext.getObject().getIssuerService().determineIssuer(Optional.ofNullable(registeredService)));
        }
        FunctionUtils.doIf(response.isActive(), __ -> response.setScope(String.join(" ", accessToken.getScopes()))).accept(response);
        CollectionUtils.firstElement(accessToken.getAuthentication().getAttributes().get(OAuth20Constants.DPOP_CONFIRMATION))
            .ifPresent(dpop -> response.getConfirmation().setJkt(dpop.toString()));
        return response;
    }
This is {@link OidcIntrospectionResponseGenerator}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/response/OidcIntrospectionResponseGenerator.java