docs: protected String encodeAndFinalizeToken(final JwtClaims claims, final OAuthRegisteredService registeredService,
                                              final AccessToken accessToken) {
  
          LOGGER.debug("Received claims for the id token [{}] as [{}]", accessToken, claims);
          val idTokenResult = getConfigurationContext().getIdTokenSigningAndEncryptionService().encode(registeredService, claims);
          accessToken.setIdToken(idTokenResult);
  
          LOGGER.debug("Updating access token [{}] in ticket registry with ID token [{}]", accessToken.getId(), idTokenResult);
          getConfigurationContext().getTicketRegistry().updateTicket(accessToken);
          return idTokenResult;
      }