I use latest VS2017 Cross-platform template to create new blank Xamarin.Forms application with .netstandard 2.0.1 library.
And I try to follow the https://developer.xamarin.com/samples/xamarin-forms/WebServices/OAuthNativeFlow/ to do it in the same way.
However after I added nuget package "Xamarin.Auth" to all projects, I got issue for this package restore.
Package 'Xamarin.Auth 1.5.0.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Package 'PCLCrypto 2.0.147' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
After googling, I found two relevant discussions.
https://github.com/xamarin/Xamarin.Auth/issues/194
https://forums.xamarin.com/discussion/99692/guidance-requested-on-xamarin-auth-or-alternatives
It looks like that "Xamarin.Auth" is not compatible with .netstandard 2.0. I am not sure if there is any workaround.
Is there any other nuget package can do the same thing without Azure B2C or any Azure Service to be used? Thanks.