static boolean isResponseModeTypeFormPost(final OAuthRegisteredService registeredService,
                                              final OAuth20ResponseModeTypes responseType) {
        return responseType == OAuth20ResponseModeTypes.FORM_POST
               || (registeredService != null
                   && (StringUtils.equalsIgnoreCase("post", registeredService.getResponseMode())
                       || StringUtils.equalsIgnoreCase(OAuth20ResponseModeTypes.FORM_POST.getType(), registeredService.getResponseMode())));
    }
Is response mode type form post?

@param registeredService the registered service
@param responseType      the response type
@return true/false
support/cas-server-support-oauth-api/src/main/java/org/apereo/cas/support/oauth/web/response/callback/OAuth20ResponseModeFactory.java