Skip to content
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

Is Owin 4 compatible with Microsoft.IdentityModel 6+ #394

Open
gabriellebourdages opened this issue Jan 28, 2021 · 1 comment
Open

Is Owin 4 compatible with Microsoft.IdentityModel 6+ #394

gabriellebourdages opened this issue Jan 28, 2021 · 1 comment
Milestone

Comments

@gabriellebourdages
Copy link

gabriellebourdages commented Jan 28, 2021

Hi,
We're currently using Owin 4.1.0 with Microsoft.IdentityModel 5.3.0 and need to upgrade some projects to Microsoft.IdentityModel version 6.8 and I'm wondering if Owin 4.1.0 can work with Microsoft.IdentityModel 6.8.

We've updated all the packages, but we do get some exceptions like the one below when trying to configure OpenId :

Microsoft.Owin.Hosting.StartOptions 
 error: 
Method not found: 'Void Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationNotifications.set_RedirectToIdentityProvider(System.Func`2<Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage,Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions>,System.Threading.Tasks.Task>)'.

According to the release notes for Microsoft.IdentityModel, there seems to be some breaking changes, but there's no mention to the method that we see in the error message (the project builds properly too), so I'm not sure if it's due to breaking changes or configuration issues on our end.

Let me know if you need more information.

@Tratcher
Copy link
Member

Tratcher commented Feb 5, 2021

Someone tried this dependency update recently over at https://github.com/rzontar/pkce/tree/package-update. It seems to build and the tests pass. That should have caught any API breaks.

@Tratcher Tratcher added this to the Discussions milestone Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants