Could not load type 'System.IdentityModel.Tokens.TokenValidationParameters'
See original GitHub issueI upgraded nuget packages:
- Microsoft.IdentityModel.Tokens, Version=5.1.4.0
- Microsoft.Owin.Security.OpenIdConnect, Version=3.1.0.0
and got an error:
Could not load type 'System.IdentityModel.Tokens.TokenValidationParameters' from assembly 'System.IdentityModel.Tokens.Jwt, Version=5.1.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
at Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions..ctor(String authenticationType)
at Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions..ctor()
Is OWIN compatible with latest IdentityModel?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:57 (20 by maintainers)
Top Results From Across the Web
Could not load type 'System.IdentityModel.Tokens. ...
I m getting this error when on IDS bearer Token auth UseIdentityServerBearerTokenAuthentication . app framework 4.6 Identity Model - 3.8 ...
Read more >Could not load type 'System.IdentityModel.Tokens. ...
I've resolved this issue by downgrading the package System.IdentityModel.Tokens.Jwt to 4.0. And there is an issue on GitHub ...
Read more >Could not load type 'System.IdentityModel.Tokens. ...
Active Roles is failing to authenticate when using MSOnline within a script and trying to connect and the following error may be experienced ......
Read more >MSOnline Could not load type 'System.IdentityModel. ...
When the Connect-MsolService cmdlet executes to authenticate with Office 365 I'm getting the following error. Could not load type 'System.
Read more >Resolving the "Could Not Load File or Assembly System. ...
A description on how I resolved the "Could not load file or assembly System.IdentityModel.Tokens.Jwt" in an Azure Functions application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The final packages will be out Soon. Next week?
Please use 4.0