Skip to content

Self load or dependency load error with Okta.AspNet.Abstractions v5.1.7.0 #303

@gatlman

Description

@gatlman

Describe the bug?

Could not load file or assembly 'Okta.AspNet.Abstractions, Version=5.1.7.0, Culture=neutral, PublicKeyToken=a5a8152428dc4790' or one of its dependencies. Strong name signature could not be verified. When running on Development machine with Visual Studio installed (i.e localhost) it works without issue (authenticates with our corporate Okta instances w/o error). However, when deployed to Windows Web Servers, it fails and the error above is what is being logged to Windows Application log (Event Viewer)

What is expected to happen?

The apps should load.

What is the actual behavior?

Could not load file or assembly 'Okta.AspNet.Abstractions, Version=5.1.7.0, Culture=neutral, PublicKeyToken=a5a8152428dc4790' or one of its dependencies. Strong name signature could not be verified.

Reproduction Steps?

Using old dependent component IdentityModel (7.0.0)

Updated Okta.AspNet from 3.2.6 to 3.2.11

Updated Okta.AspNet.Abstractions from 5.1.2 to 5.1.7

               OR

Removing old dependent component IdentityModel (7.0.0)

Adding Duede.IdentityModel (7.1.0)
Updated Okta.AspNet from 3.2.6 to 3.2.11
Updated Okta.AspNet.Abstractions from 5.1.2 to 5.1.7

Additional Information?

No response

.NET Version

ASP.NET (4.0.30319.0), ASP.NET Webforms, .NET Framework 4.8

SDK Version

N/A

OS version

Developer Workstation

BuildNumber Caption OSArchitecture Version
26100 Microsoft Windows 11 Enterprise 64-bit 10.0.26100

Development Web Server

BuildNumber Caption OSArchitecture Version
20348 Microsoft Windows Server 2022 Standard 64-bit 10.0.20348

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions