MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

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.

RPX - Getting it to work  (Mono Support )

Viewed 89702 time(s), 13 post(s) 11/9/2010 11:35:51 AMby pgundlach
pgundlach

pgundlach

11/9/2010 11:35:51 AM
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,

This content has not been rated yet. 
15 Reputation 5 Total posts
denis

denis

11/9/2010 4:28:39 PM
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.
This content has not been rated yet. 
7207 Reputation 956 Total posts
peterg

peterg

2/15/2011 1:45:28 PM
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
This content has not been rated yet. 
246 Reputation 35 Total posts
denis

denis

2/15/2011 12:46:50 PM
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?
This content has not been rated yet. 
7207 Reputation 956 Total posts
pgundlach

pgundlach

12/7/2010 8:36:50 AM
Hi Denis Yes it is working,

Thanks
This content has not been rated yet. 
15 Reputation 5 Total posts
agba

agba

7/25/2011 4:37:30 PM
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
This content has not been rated yet. 
5 Reputation 1 Total posts
DavidGarcia

DavidGarcia

9/2/2011 10:05:44 PM
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
This content has not been rated yet. 
659 Reputation 84 Total posts
denis

denis

9/5/2011 2:33:51 PM
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?
This content has not been rated yet. 
7207 Reputation 956 Total posts
DavidGarcia

DavidGarcia

9/5/2011 9:00:58 PM
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
This content has not been rated yet. 
659 Reputation 84 Total posts
denis

denis

9/5/2011 9:19:01 PM
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?
This content has not been rated yet. 
7207 Reputation 956 Total posts
1 2