c# - Dont create new user with ParseFacebookUtils and Xamarin -
i looking through documentation parsefacebookutils
class , see there method can used login user in facebook id , token. great , want.
however, when looked further documentation, saw
if user given facebook credentials not exist, new user created.
this deal breaker me. there no way disable , show user not authenticated? not want create new user if happens, want show login unsuccessful.
you should associate user facebook details if want him login facebook account, according guide:
if (!parsefacebookutils.islinked(user)) { // make browser control visible try { await parsefacebookutils.linkasync(user, browser, null); // user logged in facebook! } catch { // user cancelled facebook login or did not authorize. } // hide browser control }
if dont want , want check if current facebook account exists, there written method this, have create own.
Comments
Post a Comment