Configure social media as identity providers

The social media that Sitefinity CMS supports as identity providers out-of-the-box include Facebook, Google, Microsoft, and Twitter. For LinkedIn you need to use the OpenIdConnect authentication provider. In addition, when configuring the OIDC provider, you must disable the use of the Proof Key for Code Exchange (PKCE) standard. For more information, see Configure the OpenID Connect provider.

NOTE: External authentication with Google is not supported for Google APIs created after the Google+ deprecation of March 2019. It is supported when the API was created before March 2019 and has the Legacy People API enabled. 

To any all of these providers, you have to obtain the application ID and the application’s secret, provided by the external provider. For more information, refer to the documentation of the respective provider. 

To configure a social media as an identity provider, perform the following: 

  1. In Sitefinity CMS, navigate to Administration » Settings » Advanced
  2. In the left pane, expand Authentication » SecurityTokenService » AuthenticationProviders
  3. Select the provider that you want to configure. 
  4. In Application Id field, enter the ID of the application that you have created in the respective provider. 
  5. In Application Secret, enter the application secret key provided by the corresponding external provider. 
  6. Select Enabled checkbox. 
  7. Save your changes. 

RESULT: Next time when the login screen is displayed, it will have a button that you can use to login with your respective social media account. For example, login with Facebook. 

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Custom access tokens