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

Support netstandard 2.1 rather than netcoreapp3.0 #9

Closed
jennyf19 opened this issue Feb 18, 2020 · 8 comments
Closed

Support netstandard 2.1 rather than netcoreapp3.0 #9

jennyf19 opened this issue Feb 18, 2020 · 8 comments

Comments

@jennyf19
Copy link
Collaborator

See request: #242 (comment)

Copied from Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2#248

@yohanb
Copy link

yohanb commented Feb 9, 2021

Any update on this? Thanks.

@jmprieur
Copy link
Collaborator

jmprieur commented Feb 9, 2021

@yohanb : I don't think that would be possible. Microsoft.AspNetCore.Authentication.JwtBearer (which is one of our dependencies) for instance does not have a target platform for netstandard2.1 ...

@yohanb
Copy link

yohanb commented Feb 9, 2021

@jmprieur maybe it would be possible to extract most of the functionality into a separate package that is netstandard compatible. For example, implementing ITokenAcquisition or using MicrosoftIdentityOptions in a library project would make sense as opposed to an aspnetcore project.

@jmprieur
Copy link
Collaborator

Thanks @yohanb :as we are making more features available in .NET framework, we'll think of your suggestion.
Which public API would you like to see in the netstandard project?

@jennyf19
Copy link
Collaborator Author

blocked as MSAL.NET does not support netstandard2.1

@stephenjust
Copy link

@jennyf19 Latest version of Microsoft.Identity.Client does target netstandard2.1

@jennyf19
Copy link
Collaborator Author

@stephenjust We recently split the Ms.Id.Web package into smaller nuget packages for the tokenCache and certificate loading both of which support netstandard2.0.

Would that give you the APIs you are looking for?

@stephenjust
Copy link

Yes, this is helpful, thanks!

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

No branches or pull requests

4 participants