Yet another "An error occured: " thread

2 views
Skip to first unread message

stuart

unread,
Sep 8, 2010, 3:59:28 AM9/8/10
to Janrain Developers
I've read through the existing posts on this topic.

Am using the canned PHP script for testing purposes.
Server is running PHP 5.3.2 and json and curl work.
The web url is in my list of permitted accounts in the admin area.

When I get redirected to the rpx.php file the $post_data is formatted
correctly (with my Api key - not the application ID) yet curl returns
nothing and so $auth_info is empty.

The script is running exactly as the sample - the only thing I have
changed is adding my api key.

Any thoughts?

Thanks

Basford, Forest

unread,
Sep 8, 2010, 1:12:26 PM9/8/10
to rpx-dev...@googlegroups.com
Did you verify cURL SSL support?

Test it by using the Test Sign In tool on your dashboard and enter the
token URL in the input field on the last page of the test.

> --
> You received this message because you are subscribed to the Google Groups "Janrain Developers" group.
> To post to this group, send email to rpx-dev...@googlegroups.com.
> To unsubscribe from this group, send email to rpx-developer...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rpx-developers?hl=en.
>
>

boogi

unread,
Sep 9, 2010, 12:38:47 AM9/9/10
to Janrain Developers
Hi,

Do this to check if the server is returning proper data.....

On the rpx.php file....

add

echo "https://rpxnow.com/api/v2/auth_info?token=".$token."&apiKey=".
$rpxApiKey."&format=json";

Now run the procedure normally...... you ll get a URL.....

copy the url, paste it in ur browser and press enter....

see if the server is returning proper json value....

Make sure that u do this as soon as u get the url because the token
may expire within a minute....
Reply all
Reply to author
Forward
0 new messages