question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JwtSecurityTokenHandler can't be used with WsFederation middleware

See original GitHub issue

Looks like a regression of #18.

The 5.x version of JwtSecurityTokenHandler has only a CanReadToken( string token ) and thus rejects things like <wsse:BinarySecurityToken ValueType="urn:ietf:params:oauth:token-type:jwt"... when used with the WsFederationMiddleware in Katana 4.0.

Previous version (when it lived in System.IdentityModel.Tokens.JwtSecurityTokenHandler) also had a CanReadToken( XmlReader reader )

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
brentschmaltzcommented, Feb 27, 2020

@solidstore @MauroMS this work is stacked behind a public release of 6.4.2 where we have made several changes that were used and tested inside microsoft. Expect this work in an up-coming 6.4.2+ version.

1reaction
MauroMScommented, Dec 27, 2019

Oh wow, seems at this point that nothing is going to happen about this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication with OWIN and WsFederation for MVC, web ...
For my company, I have to make a POC to check if we can use wsFederation authentication for our project, which has a...
Read more >
The auth is not working in .net core web api?
Here are some possible solutions: Make sure the authentication middleware is added to your application's pipeline. In the Startup.cs file, add ...
Read more >
Manually configuring OWIN WS-Federation middleware and ...
It needs to be set to a SecurityTokenHandlerCollection containing all the handlers I want to use. However, they also need to be configured ......
Read more >
Logout does not seem to be working correctly
In IIS served application, when I hit Logout it logs out of the application. When I select Login, it automatically logs me into...
Read more >
Test driving the WS-Federation Authentication Middleware for ...
What I really was trying to do was: – use Owin WsFederationAuthenticationExtensions in a single Azure WebRole that exposes both, WebForms AND ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found