@@ -328,17 +328,15 @@ get_openid_configuration_using_path_and_custom_endpoint(Config) ->
328328 SslOptions = [{ssl , ExpectedOAuthProvider # oauth_provider .ssl_options }],
329329 {ok , Actual } = oauth2_client :get_openid_configuration (
330330 build_openid_discovery_endpoint (build_issuer (" https" , ? ISSUER_PATH ),
331- ? CUSTOM_OPENID_CONFIGURATION_ENDPOINT ),
332- SslOptions ),
331+ ? CUSTOM_OPENID_CONFIGURATION_ENDPOINT ), SslOptions ),
333332 ExpectedOpenId = map_oauth_provider_to_openid_configuration (ExpectedOAuthProvider ),
334333 assertOpenIdConfiguration (ExpectedOpenId , Actual ).
335334get_openid_configuration_using_custom_endpoint (Config ) ->
336335 ExpectedOAuthProvider = ? config (oauth_provider , Config ),
337336 SslOptions = [{ssl , ExpectedOAuthProvider # oauth_provider .ssl_options }],
338337 {ok , Actual } = oauth2_client :get_openid_configuration (
339338 build_openid_discovery_endpoint (build_issuer (" https" ),
340- ? CUSTOM_OPENID_CONFIGURATION_ENDPOINT ),
341- SslOptions ),
339+ ? CUSTOM_OPENID_CONFIGURATION_ENDPOINT ), SslOptions ),
342340 ExpectedOpenId = map_oauth_provider_to_openid_configuration (ExpectedOAuthProvider ),
343341 assertOpenIdConfiguration (ExpectedOpenId , Actual ).
344342
0 commit comments