davidjrh / dnn.azureadprovider

The DNN Azure Active Directory Provider is an Authentication provider for DNN Platform (formerly DotNetNuke) that uses Azure Active Directory OAuth2 authentication to authenticate users.
MIT License
35 stars 21 forks source link

Error when upgrading to DNN Evoq 9.10 #60

Closed pmmarkley closed 2 years ago

pmmarkley commented 2 years ago

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 .

pmmarkley commented 2 years ago

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

https://github.com/davidjrh/dnn.azureadprovider/issues/38

davidjrh commented 2 years ago

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"

pmmarkley commented 2 years ago

Hi @davidjrh,

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

davidjrh commented 2 years ago

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.

pmmarkley commented 2 years ago

Ok thank you for your help.

Thank you,

Pamela Markley Web Development Manager Department of Information Technology Columbus Consolidated Government

From: David Rodríguez @.> Date: Wednesday, July 20, 2022 at 4:47 PM To: davidjrh/dnn.azureadprovider @.> Cc: Pamela Markley @.>, Mention @.> Subject: [EXTERNAL] Re: [davidjrh/dnn.azureadprovider] Error when upgrading to DNN Evoq 9.10 (Issue #60)

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.

— Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdavidjrh%2Fdnn.azureadprovider%2Fissues%2F60%23issuecomment-1190742120&data=05%7C01%7Cpmarkley%40columbusga.org%7Cbe49a418e88745f110ae08da6a911ed6%7Cf6bad3c9100144daacffb25808ccd0c4%7C1%7C0%7C637939468769636402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dtjoFfwvlWCiLfakpt4WNTwtvSeLqnoJcAwoEPoQiXM%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOBBBDQSHEKT3FONY3UK3DVVBQW5ANCNFSM54E2LNDQ&data=05%7C01%7Cpmarkley%40columbusga.org%7Cbe49a418e88745f110ae08da6a911ed6%7Cf6bad3c9100144daacffb25808ccd0c4%7C1%7C0%7C637939468769636402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1jKJhW2ubXz3goBjCCaDacjoWkPgn6a4dBO3duJpcQg%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>