I don’t know if it has changed or I’m very stupid, because I don’t get the authentication with MS Account on Xamarin forms. On my native uwp app, I’m use the OneDrive SDK that use Graph SDK in order to do the authentication and sync a file. And I was very easy. Now I want to do the same on my Xamarin Forms app (for Android and ios) but I don’t get it. I started with Graph, I don’t get nothing, after I found this thread https://forums.xamarin.com/discussion/66039/sample-for-using-microsoft-account-as-an-identity-provider-using-the-xamarin-auth and other blogs about Xamarin.Auth, I tried and nothing, I can’t get the webview works. And then I found a recent blog and code about graph https://github.com/mayur-tendulkar/XamarinDrive
And sample doesn’t work but I have integrated the code and start the authentication on my app. But When I accept the permission, app go back to my home page but it doesn’t return the user authorization object. So what thing am I doing incorrectly?
What have I done?
-I have created the app on my dashboard in order to get ID
-I have add Graph and identity with last version
-I have created the code as app in order to request the access and get the name of user.
-I have added the redirection url to app and dashboard.
What other thing have I to do in order to work?