You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
I was looking at the OpenIdConnectAuthenticationMiddleware and i found some strange lines of code inside its constructor:
elseif(!(string.IsNullOrWhiteSpace(Options.MetadataAddress)&&string.IsNullOrWhiteSpace(Options.Authority))){//If the previous if statement is true how this condition can be ever satisfied??if(string.IsNullOrWhiteSpace(Options.MetadataAddress)&&!string.IsNullOrWhiteSpace(Options.Authority)){Options.MetadataAddress=Options.Authority;if(!Options.MetadataAddress.EndsWith("/",StringComparison.Ordinal)){Options.MetadataAddress+="/";}Options.MetadataAddress+=".well-known/openid-configuration";}HttpClienthttpClient=newHttpClient(ResolveHttpMessageHandler(Options));httpClient.Timeout=Options.BackchannelTimeout;httpClient.MaxResponseContentBufferSize=1024*1024*10;// 10 MBOptions.ConfigurationManager=newConfigurationManager<OpenIdConnectConfiguration>(Options.MetadataAddress,httpClient);}
The text was updated successfully, but these errors were encountered:
Hello,
I was looking at the OpenIdConnectAuthenticationMiddleware and i found some strange lines of code inside its constructor:
The text was updated successfully, but these errors were encountered: