Step By Step Guide For WordPress Single Sign On (SSO) using Facebook
If you want users to login to your WordPress site using their Facebook credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the Facebook with WordPress plugin, you can allow users to SSO to your WordPress site using Facebook.
Similarly, you can map your WordPress roles based on your Facebook attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.
You can download OAuth Client plugin using the following link.
Follow the Step-by-Step Guide to configure Facebook as an OAuth Server :
Enter the Display Name and Contact Email for your facebook app under the Display Name and Contact Email fields respectively and then click on Create App ID button to save your settings and create an App Id for your app.
Select Facebook Login by clicking on the set up button .
Select Facebook Login -> Settings under Products option in the navigation bar .
Under Client OAuth Settings, enter the Callback/Redirect URL (from your miniOrange Oauth Client plugin) in the Valid OAuth Redirect URIs field. Click on the Save button to save your configurations. Most importantly, your Callback/Redirect URI should be https and not http. It is mandatory while configuring Facebook as an OAuth Server.
Go to Settings -> Basic to view your App Id and App Secret Refer to the image below).
Copy your App ID and your App Secret and save it in your miniOrange OAuth Client Plugin/Module. (under client id and client secret field respectively).
Change you app status from In Development to Live by clicking on OFF as shown in the image below. Then, click on confirm to confirm your change of status.