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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -