private static void setDefaultDiscoveryProperties() {
        defaultDiscoveryProperties.put(KEY_OIDC_RESPONSE_TYPES_SUPP, new String[] { "code", "token", "id_token token" });
        defaultDiscoveryProperties.put(KEY_OIDC_SUB_TYPES_SUPP, new String[] { "public" });
        defaultDiscoveryProperties.put(KEY_OIDC_ID_TOKEN_SIGNING_ALG_VAL_SUPP, new String[] { "HS256" });
        defaultDiscoveryProperties.put(KEY_OIDC_SCOPES_SUPP, new String[] { "openid", "general", "profile", "email", "address", "phone" });
        defaultDiscoveryProperties.put(KEY_OIDC_CLAIMS_SUPP,
                new String[] { "sub", "groupIds", "name", "preferred_username", "picture", "locale", "email", "profile" });
        defaultDiscoveryProperties.put(KEY_OIDC_RESP_MODES_SUPP, new String[] { "query", "fragment", "form_post" });
        defaultDiscoveryProperties.put(KEY_OIDC_GRANT_TYPES_SUPP, new String[] { "authorization_code", "implicit", "refresh_token", "client_credentials", "password",
                "urn:ietf:params:oauth:grant-type:jwt-bearer" });
        defaultDiscoveryProperties.put(KEY_OIDC_TOKEN_EP_AUTH_METHODS_SUPP, new String[] { "client_secret_post", "client_secret_basic" });
        defaultDiscoveryProperties.put(KEY_OIDC_DISPLAY_VAL_SUPP, new String[] { "page" });
        defaultDiscoveryProperties.put(KEY_OIDC_CLAIM_TYPES_SUPP, new String[] { "normal" });
        defaultDiscoveryClaimsParmSupp = false;
        defaultDiscoveryRequestParmSupp = false;
        defaultDiscoveryRequestUriParmSupp = false;
        defaultDiscoveryRequireRequestUriRegistrationSupp = false;
    }
private static void setDefaultDiscoveryProperties ( ) { defaultDiscoveryProperties . put ( KEY_OIDC_RESPONSE_TYPES_SUPP , new String [ ] { "code" , "token" , "id_token token" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_SUB_TYPES_SUPP , new String [ ] { "public" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_ID_TOKEN_SIGNING_ALG_VAL_SUPP , new String [ ] { "HS256" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_SCOPES_SUPP , new String [ ] { "openid" , "general" , "profile" , "email" , "address" , "phone" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_CLAIMS_SUPP , new String [ ] { "sub" , "groupIds" , "name" , "preferred_username" , "picture" , "locale" , "email" , "profile" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_RESP_MODES_SUPP , new String [ ] { "query" , "fragment" , "form_post" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_GRANT_TYPES_SUPP , new String [ ] { "authorization_code" , "implicit" , "refresh_token" , "client_credentials" , "password" , "urn:ietf:params:oauth:grant-type:jwt-bearer" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_TOKEN_EP_AUTH_METHODS_SUPP , new String [ ] { "client_secret_post" , "client_secret_basic" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_DISPLAY_VAL_SUPP , new String [ ] { "page" } ) ; defaultDiscoveryProperties . put ( KEY_OIDC_CLAIM_TYPES_SUPP , new String [ ] { "normal" } ) ; defaultDiscoveryClaimsParmSupp = false ; defaultDiscoveryRequestParmSupp = false ; defaultDiscoveryRequestUriParmSupp = false ; defaultDiscoveryRequireRequestUriRegistrationSupp = false ; }
Should model what is set as default in the oidc.server metatype.xml