question: Map < String , Set < String > > readOpenIDWellKnownConfig ( Locale locale , String url ) throws WorkflowException { String configurationContents = getWebContent ( locale , url ) ; Map < String , Object > config = Utils . parseJson ( configurationContents ) ; Map < String , Set < String > > attrs = new CaseInsensitiveHashMap ( ) ; attrs . put ( AUTH_MODULE_AUTH_URL , asSet ( ( String ) config . get ( WELL_KNOWN_AUTH_URL ) ) ) ; attrs . put ( AUTH_MODULE_TOKEN_URL , asSet ( ( String ) config . get ( WELL_KNOWN_TOKEN_URL ) ) ) ; attrs . put ( AUTH_MODULE_USER_PROFILE_URL , asSet ( ( String ) config . get ( WELL_KNOWN_PROFILE_URL ) ) ) ; attrs . put ( AUTH_MODULE_ISSUER , asSet ( ( String ) config . get ( WELL_KNOWN_ISSUER ) ) ) ; String jwkURL = ( String ) config . get ( WELL_KNOWN_JWK ) ; if ( jwkURL != null && ! jwkURL . isEmpty ( ) ) { attrs . put ( AUTH_MODULE_CRYPTO_TYPE , asSet ( "jwk_url" ) ) ; attrs . put ( AUTH_MODULE_CRYPTO_VALUE , asSet ( jwkURL ) ) ; } return attrs ; }
target:  Gets the discovery URL from the map, fetches the well known config and adds appropriate values to the map.