-
Notifications
You must be signed in to change notification settings - Fork 7
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
Incompatible with Microsoft.AspNetCore.OData, Version=8.0.0.0...? #5
Comments
WebApi Authorization currently only supports OData WebApi 7.x, AspNet.Core 3.1 with endpoint routing. refer to : |
Could I ask, do you have any idea, when will development possible? |
@eric-miller-cdfw @Firas88Alkhatib I think this is obviously a duplicate to #9. The referenced PR #13 is an effort to update the library to ASP.NET Core OData 8. If there is still interest, one could try to improve the PR as a community effort and maybe get it accepted. |
Could really use this feature. Seem ODATA is being outpaced by this - https://learn.microsoft.com/en-us/azure/data-api-builder/overview-to-data-api-builder?tabs=azure-sql which is a shame as ODATA is much more mature. The data api supports authorization and more granular (property level). something this project could add as well. |
It looks like the "core" version of the lib is referencing some .NET Framework API's... Also, the docs don't seem correct for how to configure startup.
Docs show ConfigServices like:
But the AddAuthorization() extension method seems to be for .NET Framework. So, I tried ...
And, for authentication, I want to use Azure AD (Bearer tokens)
And, in the Configure method:
But, I get the following exception at startup...
The text was updated successfully, but these errors were encountered: