Last post Jun 19, 2017 02:35 AM by Cathy Zou
Jun 16, 2017 04:32 AM|keatkeat|LINK
I have look around for this kind of tutorial.
most of them use oauth 2.0 "Resource Owner Password Credentials Grant" to implement token based.
I face a problem with external login. Because "Password Credentials Grant" using a username and password to login, but if i want to let user login through their facebook account, i won't able to have a username and password.
is it authorization code grant type is the only way ?
any idea ?
Jun 19, 2017 02:35 AM|Cathy Zou|LINK
From my understanding, you want to do external login using facebook account.
Whereas, When user haven’t face account. You want the project allow user to register a new account.
If that the case. As far as I know, you project will require an application ID and secret key from face book in order to function.
For information about creating a Facebook developer account and obtaining your application ID and secret key, see
Once you have obtained your application ID and secret key, using the code in Startup.Auth.cs file.
For more information, please refer to the following links: