How to enable external authentication to allow users to sign in with facebook account in nopCommerce

External authentication also known as SSO (Single sign on) is a method that is used by many websites these days to allow their users to sign in using different account like facebook, twitter, gmail etc without having having them to fill long and time consuming registration forms.

nopCommerce supports external authentication and comes integrated out of the box with facebook authentication. The main aim of providing this feature on the site is to provide convenience to your users so that they don't have to spend time in filling out registration form or have memorize one more new password.

1) Login to your nopCommerce store site as admin and go to administration section: 

2) Now, go to: Administration > Configuration > External Authentication Methods

nopCommerce sso

3) Click on the "Configure" link for "Facebook authentication"

nopCommerce SSO

4) Now enter the required values and SAVE changes:

Enter your app ID/API key. You can find it on your FaceBook application page.
Enter your app secret. You can find it on your FaceBook application page.

For more information, go to:

5) Now, go back to "Facebook authentication" page and click on "Edit" to ENABLE this feature like this:

nopCommerce SSO

6) Save changes and go to the login page of your nopCommerce store site:

nopCommerce SSO

About Author

Written By Lavish Kumar

Based out of New York, USA, Lavish Kumar is a full stack web developer by profession and founder of Striving Programmers, a trusted community for developers that offers a wealth of articles and forums to assist individuals with improving their software development skills.

Leave your comment