New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load type 'System.IdentityModel.Tokens.TokenValidationParameters' #25

Open
spjeff opened this Issue Oct 5, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@spjeff

spjeff commented Oct 5, 2017

ERROR
I've upgraded my project to the latest release of System.IdentityModel.Tokens.Jwt (5.0.0).

Now I get a runtime exception in my host:

Could not load type 'System.IdentityModel.Tokens.TokenValidationParameters' from assembly
'System.IdentityModel.Tokens.Jwt, Version=5.0.0.127, Culture=neutral,
PublicKeyToken=31bf3856ad364e35'.
( others at IdentityServer/IdentityServer3#3017 saw the same with JWT breaking change)

FIX
Run the below command on Package Manager Console for both Projects (TodoSPA & ToGoAPI)

Install-Package System.IdentityModel.Tokens.Jwt -Version 4.0.2.206221351

Then build, select root Solution TodoSPA, and press F5 to start both websites and run the solution. Should work OK now.

@spjeff

This comment has been minimized.

Show comment
Hide comment
@spjeff

spjeff Oct 6, 2017

I recorded a video on the install steps on my blog.

Want to add to documentation README.MD?

http://www.spjeff.com/2017/10/05/video-azure-ad-protected-web-api-in-an-angularjs-spa/

spjeff commented Oct 6, 2017

I recorded a video on the install steps on my blog.

Want to add to documentation README.MD?

http://www.spjeff.com/2017/10/05/video-azure-ad-protected-web-api-in-an-angularjs-spa/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment