TerribleDev / OwinOAuthProviders

OAuth providers for Owin
MIT License
504 stars 236 forks source link

Microsoft.Owin.Security 3.0.1 is out of date #264

Open CraigLager opened 5 years ago

CraigLager commented 5 years ago

This is a dependancy on Owin.Security.Providers.Instagram

Latest version is 4.0.x, which wont be loaded because of the major version change. Downgrading forces a downgrade of packages like Microsoft.Owin.Security.Facebook which are reliant on newer versions to work with the latest APIs.

CraigLager commented 5 years ago

A workaround for now is putting this into web.config:

      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin"  publicKeyToken="31bf3856ad364e35"  culture="neutral" />
        <bindingRedirect oldVersion="3.0.1.0" newVersion="4.0.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin.Security"  publicKeyToken="31bf3856ad364e35"  culture="neutral" />
        <bindingRedirect oldVersion="3.0.1.0" newVersion="4.0.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
        <bindingRedirect oldVersion="3.0.1.0" newVersion="4.0.1.0"/>
      </dependentAssembly>