davidjrh/dnn.azureadprovider

Error when upgrading to DNN Evoq 9.10

Closed this issue · 5 comments

I recently upgraded our development environment to DNN version 9.10 and after I receive the following error when navigating to the login screen:

System.TypeLoadException: Could not load type 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken' from assembly 'System.IdentityModel.Tokens.Jwt, Version=4.0.20622.1351, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Screen Shot 2022-07-20 at 3 12 22 PM
.

I did try the work around linked below but it did not work. I still receive the same error.

#38

Hi @pmmarkley, that error should be solved following instructions described on #38, just replace the newVersion="5.6.0.0" with the version of your library newVersion="4.0.20622.1351"

Hi @davidjrh,

That version is already in the web.config as the new version
Screen Shot 2022-07-20 at 4 25 50 PM
.

Which version of the Azure AD module was previously installed?

I'm sorry I don't have access to a Evoq version to test it with that version. Sounds like Evoq is using an old version of that library and changed the version needed by the Azure AD module or any of its dependencies. Have you opened a support ticket to DNN Corp.? Since it is an Evoq version, they should be able to fix this for you.