Cant get token from janrain
I set up the authentication window, according to the introduction janrain, but as the callback come, there is no token. What could be the problem?
Here is the magic code:
...
$rpxApiKey = '95c8d032db3db656e7716749552ff12c82f7开发者_开发问答108f';
if(isset($_POST['token'])) {
echo "hello";
/* STEP 1: Extract token POST parameter */
$token = $_POST['token'];
...
but hello is not appearing.
- Go to https://rpxnow.com/ and login.
- Go to "Deployment" -> "Domain & Settings".
- Add your URL to the whitelisted domains, e.g.: *.your-url.com
精彩评论