[note this post is under going revisions and will be updated]
Some tips on Adding FaceBook sign-on authorization – it takes a number of steps not all of which are well documented on http://rpxnow.com. This post assumes you’ve already installed the plug-in to your site (WordPress in my case) and have it working with the default installed 3rd-party providers (Google, etc…). I’d never created a Facebook App before so I had to allow the Developers App in my account. It then took a while figure out what an API key was and how to get one. After that then finish up the steps for adding Facebook as a sign-on provider back on the rpxnow page.
Once all that was done I hit this WordPress site again and tried a test sign-on. Facebook sign-on was now offered but upon click it there were immediate errors about “cross-site…” and all tests were failures. So after some trial and error looks like I got the configuration to set…and this is detailed below.
These steps assume you’ve already installed the plug-in to your site (WordPress in my case) and have it working with the default installed 3rd-party providers (Google, etc…).
Add Facebook support
- Logon to your rpxnow.com account
- Under Widgets dropdown menu select– Sign-in Widget
- Jump to step #3 in the Getting Started | Choose Providers (note: if you have the free version you can have a maximum of 6)
- Click to add the icon for Facebook
- You’ll now get a series of prompts to provide your API Key and Secret Key. Most don’t know what the heck this is so here are the steps:
- Open a new browser window and logon to your Facebook
- Browse to http://www.facebook.com/developers (add the Developer app if prompted)
- Click Set Up New Application
- Give the Application a name – you may be able to leave this blank or name something descriptive. Click Create Application.
- Now you’ll see a setup page and your API key and Secret are generated. Copy/paste these into the appropriate boxes back on the rpxnow Facebook setup.
- *Important* this is the step that I missed that caused the first attempts to use the Facebook sign-on fail……
- Go back to the Facebook page above and select the “Connect” settings for the application and in the Connect URL, enter: “https://[youraccount].rpxnow.com/facebook/” – this tells your Facebook app the authorized url for the redirected connections. If the format of this url isn’t correct for your implementation you’ll get the errors when you first test the Facebook sign-on. No worries since in the error message you’ll see what the url should be to enter for the Connect URL.
- Save these changes.