c# - What is the url for Facebook authentication with WebAuthenticationCoreManager -
i have code facebook authentication
var scopes = "email user_birthday user_events user_friends user_about_me"; webaccountprovider facebookaccountprovider = await webauthenticationcoremanager .findaccountproviderasync("https://www.facebook.com/dialog/oauth"); webtokenrequest webtokenrequest = new webtokenrequest(facebookaccountprovider, scopes);
webauthenticationcoremanager not facebook oauth endpoint https://www.facebook.com/dialog/oauth , sets facebookaccountprovider null. know how can findaccountproviderasync working facebook?
webauthenticationcoremanager.findaccountproviderasync()
finds account providers have been registered windows. means (say) facebook app need support (which doesn't). @ moment it's useful microsoft accounts , organizational accounts (office 365/azure ad).
if want use facebook's oauth 2.0 implementation directly can use webauthenticationbroker instead (there examples on page).
Comments
Post a Comment