Support Forum

How do I get the integration between SimplPress and Janrain RPXNow

PA PaddleMan
PaddleMan
Member
  • I have got my self a RPXNow account. I have also followed the instructions in the RPXNow Dashboard and managed to create the app’s in Facebook / Windows Live / Facebook / Twitter etc.
  • I have tested the RPXNow using the JanRain test tool – It showed all six of my authentications seems to be working properly with each one returning me a API response with all the correct fields captured from the respective providers
  • I have gone into SimplePress Administrations and enabled RPX support. I entered the ‘RPX API key‘ correctly and left ‘URL to redirect to after RPX login‘ blank.
  • However,  got the following problems:
  1. The displayed authentication providers seems to default to AOL, Google, Yahoo and Open ID. This is despite the fact that I have used the RPX dashboard to configure the widget so that it had Facebook / Twitter / Windows Live and Google instead. It has been hours since I saved the new layout for the widget but it is not reflecting on the Simplepress registration screen
  2. At the end of Registration (or authentication) with a provider, the site appear to redirect from the provider page to the page http://MySite.rpxnow.com/redirect?loc=Somelongcode and then redirect back to the address http://mydomain?rpx_response=1&goback=MyForumAddress 
  3. However, instead of authentication, the site displays the message ‘An error has occurred’ on the top left hand corner and stays unauthenticated.

What am I doing wrong? Do I need to set up some token URL’s? Is there a step I missed? What does ‘”rpx_response=1″ mean in the return URL? IS that an error code?’

21 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Before I start digging into the code can you just confirm that you don’t also have the WP Janrain plugin installed and active?

PA PaddleMan
PaddleMan
Member


Yellow Swordfish said

Before I start digging into the code can you just confirm that you don’t also have the WP Janrain plugin installed and active?

Thanks for the prompt response, Andy.

This is a brand new install of WP and SimplePress. The only WP plugin’s I have are WP Super Cache (Active with Caching off) and Akismet (installed but not yet activated).

And No, I do not have WP Janrain plugin installed. I do have a few SimplePress Plugins installed, namely Custom Profile Fields, Profile Display Control and Template Tags & Widget.

However, I am new to WordPress and SimplePress and I might have messed something up in the Janrain Dashboard.

Is it OK if I PM some of the screenshots of my JanRain config and a link to my actual registration page?

YS Yellow Swordfish
Yellow Swordfish
Member

Of course you can. But…

Please send PM to both myself and to ‘Mr Papa’. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem.

Including Steve (Mr Papa) makes sense because he wrote the code for this and knows it better than I do.

MP Mr Papa
Mr Papa
Member

and you configured your janrain dashboard?  to include registering your domain?  the dashboard of janrain is also where you configure which 3rd party logins you want… SP has not interaction in that whatsoever…

is your site using pretty permalinks? or default?

PA PaddleMan
PaddleMan
Member

Yes. (See the screendumps I PM’ed).

  • For application Domain Name, it defaulted to https://domain.rpxnow.com/
  • For domain whitelist, I added my domain as *.domain.com

I am going to try to reset my API key and recreate a new one and attach it to SP config and see if that solves the problem.

I am using Permalink that it defaults to.

PA PaddleMan
PaddleMan
Member

OK – I reset the API key using the RPX dashboard – and it made no difference.

The most weird thing is that just after I reset the key, the register screen displayed the old provider list – almost as if though the SimplPrint has got some other API key hard coded?

I have wasted a whole day on this and I am beginning to get frustrated.

YS Yellow Swordfish
Yellow Swordfish
Member

The most probable explanation lies on the Janrain side of the equation. After all – SP just displays what Janrain sends along over which we have no control.

Is there any chance you could allow us to take a look at your Janrain account settings. Its the most obvious place to start…

PA PaddleMan
PaddleMan
Member

Yellow Swordfish said
The most probable explanation lies on the Janrain side of the equation. After all – SP just displays what Janrain sends along over which we have no control.

The Janrain provider configuration seems to be working. They give you a test widget which shows all of the providers I have set up correctly. Why is SP sign in / Regtister page not showing the same povider list?

 

 

Yellow Swordfish said
Is there any chance you could allow us to take a look at your Janrain account settings. Its the most obvious place to start…

I rather not post screen dumps that shows my private keys and logins on a public forum. Yesterday, I sent a PM (with an attachment showing all the Janrain settings and SP settings to you and Steve). Did you not get it? I willl resend it. please acknowledge receipt.

PA PaddleMan
PaddleMan
Member

Anyone else out there managed to get SimplePress to work with RPXNow / JanRain?

YS Yellow Swordfish
Yellow Swordfish
Member

yes we did get the PM. Is that all of the settings? I thought there were more. I will pass them over to Steve to look at.

We have many users using Janrain and very few forum posts on the subject. Actually if you go to our demo site (link on the right sidebar) you will find we use it ourselves there. We don’t use it here because it is a membership site so logins are controlled by a different system.

I will ask Steve to look at the settings to see if he can spot anything…

YS Yellow Swordfish
Yellow Swordfish
Member

OK – I am confused. I am trying to compare your settings with ours at rpxnow.com and I can’t see anything that compares to your screen dumps! Where did you go to find that page?

One question though. You have *.paddler.co.nz listed which is the only domain there. This denotes a sub-domain. That should just be paddler.co.nz. ANd why localhost? That’s not right.

PA PaddleMan
PaddleMan
Member

Yellow Swordfish said
yes we did get the PM. Is that all of the settings? I thought there were more.

Yes there is more – but with the Basic (free) account you don’t get to change much – I have left all the other stuff as default.

Yellow Swordfish said
I will ask Steve to look at the settings to see if he can spot anything…

I see Steve’s profile says he is off till Friday :( I was hoping to go live today!

Yellow Swordfish said
Actually if you go to our demo site (link on the right sidebar) you will find we use it ourselves there. 

I know – I seen that. My problem seems to relate to my SimplPress configuration or how SImplePress interact with my RPX.

I just set up another SEPARATE website WITHOUT SimplPress quickly and installed the JanRain’s native plugin. All I had to do was to type in my key I set up for the SImplPresss Site (I did not have to change the domain as I used a wilddcard), and enable the options in General Tab that allows anyone to register. It worked fine.

YS Yellow Swordfish
Yellow Swordfish
Member

Odd.
Well that’s another way of doing it of course. Remove the SP login from the forum and use your own alternative.