Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Mono Support RPX - Getting it to work 

Viewed 26800 time(s) ,  13 post(s).   1 year ago  by pgundlach 
1 pgundlach
15 Reputation
5 Total posts
This content has not been rated yet. 
pgundlach 1 year ago
Is there any place where the is more documented write ups on the rpx log in? and how to get it to work.


Only place where i can see where to ass the api key is in the login.apsx but i cant seem to figure out where my own home url for rpx must be inserted, currently its set to https://monox.rpxnow.com but that needs to change aswell

Regards,

2 denis
5024 Reputation
575 Total posts
This content has not been rated yet. 
denis 1 year ago
Hello,
The RPX service is supported by LoginRpx.ascx Web part, not the "standard" Login.aspx. You will need to change the RpxFrameUrl property (either interactivelly, via the admin toolbar, or programatically) and set it to the URL assigned to you by Janrain Engage (a new name for the former RPX service) when you register with them.
By default, this URL is set to http://monox.rpxnow.com/openid/embed just to showcase this module - it is our "private" URL and Janrain allows you to define which referring URLs can call it.
In addition to the free registration at Janrain's site, you will need to perform site-specific application creation tasks at each provider sites (Facebook, Google, LinkedIn, whatever). Janrain has a very good documentation and UI ([url=https://rpxnow.com/]https://rpxnow.com/[/url]) that will assist you in this process, please contact us if you need more info.
3 peterg
236 Reputation
33 Total posts
This content has not been rated yet. 
peterg 1 year ago
Ok i got most of it working, however after login the user is not loggen in.

I setup the facebook and twitter login and pressing the buttons works, then the login screens dissapear and the user is not loggen in.

This is what I have done
on the RPXLogin i replaced the monox.rpx iframe with my own url and set the Ap Key to the Login.aspx page

Somehwere i screwed up.

peter
4 denis
5024 Reputation
575 Total posts
This content has not been rated yet. 
denis 1 year ago
Hi Peter,
I just checked this functionality by trying to log in with my Facebook credentials on the main MonoX site and it works. Something has to be wronf on your side.

You say that you replaced the Iframe on the RpxLogin.ascx? Please revert to the original version of that file, and modify the RpxFrameUrl property to "http://MyURL.rpxnow.com/openid/embed". You can do it programatically in the Login.aspx:

<MonoX:LoginRpx runat="server" ID="ctlLoginRpx" Width="100%" ApiKey="Your APiKey" RpxFrameUrl="http://MyURL.rpxnow.com/openid/embed" />


or by changing the "URL for the RpxNow iframe" field that gets shown in the admin toolbar when you click on "Properties" manu item of the LoginRpx part.

Does it work now?
5 pgundlach
15 Reputation
5 Total posts
This content has not been rated yet. 
pgundlach 1 year ago
Hi Denis Yes it is working,

Thanks
6 agba
5 Reputation
1 Total posts
This content has not been rated yet. 
agba 8 month(s) ago
Hello,

I followed the mails above and just tried to setup the rpx on my site, although it worked perfectly while I i put the APIkey and changed the rpxnow iFrame subdomain from monox to "myAccount", but immediately I leave the scope, i.e click home and then click login, it goes back to monoX subdomain.

Even though I clicked "apply" yet it does not reflect the changes I made using the admin toolbar.

Agba
7 DavidGarcia
75 Reputation
11 Total posts
This content has not been rated yet. 
DavidGarcia 6 month(s) ago
Hello denis, i've been working / testing with the project and i did the changes in the

<MonoX:LoginRpx runat="server" ID="ctlLoginRpx" Width="100%" ApiKey="Your APiKey"RpxFrameUrl="http://MyURL.rpxnow.com/openid/embed" />

i put my information and everything but for some reason it always redirects me to the page in the picture, what could be wrong?

note: my project is not up in a real server
8 denis
5024 Reputation
575 Total posts
This content has not been rated yet. 
denis 6 month(s) ago
Hi David,
what is the URL of your solution? It appears that it cannot redirect to http://localhost/Portal/login.aspx for some reason - can you access this URL manually?
9 DavidGarcia
75 Reputation
11 Total posts
This content has not been rated yet. 
DavidGarcia 6 month(s) ago
https://pruebamono.rpxnow.com/openid/start?flags=show_provider_list&language_preference=en&token_url=http%3A%2F%2Flocalhost%2FPortal%2Flogin.aspx%3FReturnUrl%3D%252fPortal%252fDefault.aspx&display=popup&openid_identifier=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid&force_reauth=false&xdReceiver=http%3A%2F%2Fpruebamono.rpxnow.com%2Fxdcomm&callback=0

It tries to redirect to this page and then comes the error from the screenshoot
10 denis
5024 Reputation
575 Total posts
This content has not been rated yet. 
denis 6 month(s) ago
The problem is most probably caused by your local solution running on a non-default port. Could you try running it on port 80 and let me know if that works?
Page 1 2