I'm trying to enable social logins and the development guide references:
ASP.NET Zero supports social media logins. To enable it, we should change the following settings in appsettings.json file.
But I've looked high and low in the project, and it doesn't seem to be included. Is there a blank template to add it? I'm using the MVC version.
2 Answer(s)
-
0
To enable it, you should change the following settings in the web.config file.
<add key="ExternalAuth.Facebook.IsEnabled" value="false" /> <add key="ExternalAuth.Facebook.AppId" value="" /> <add key="ExternalAuth.Facebook.AppSecret" value="" />
<add key="ExternalAuth.Twitter.IsEnabled" value="false" /> <add key="ExternalAuth.Twitter.ConsumerKey" value="" /> <add key="ExternalAuth.Twitter.ConsumerSecret" value="" />
<add key="ExternalAuth.Google.IsEnabled" value="false" /> <add key="ExternalAuth.Google.ClientId" value="" /> <add key="ExternalAuth.Google.ClientSecret" value="" />
-
0
thanks!