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 )

98390 put(a) pogledan, 13 odgovor(a) 9.11.2010. 11:35:51Kreirao(la) pgundlach
pgundlach

pgundlach

9.11.2010. 11:35:51
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,

Ovaj sadržaj još nije ocijenjen. 
15 Reputacija 5 Ukupno objava
denis

denis

9.11.2010. 16:28:39
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.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
peterg

peterg

15.2.2011. 13:45:28
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
Ovaj sadržaj još nije ocijenjen. 
246 Reputacija 35 Ukupno objava
denis

denis

15.2.2011. 12:46:50
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?
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
pgundlach

pgundlach

7.12.2010. 8:36:50
Hi Denis Yes it is working,

Thanks
Ovaj sadržaj još nije ocijenjen. 
15 Reputacija 5 Ukupno objava
agba

agba

25.7.2011. 16:37:30
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
Ovaj sadržaj još nije ocijenjen. 
5 Reputacija 1 Ukupno objava
DavidGarcia

DavidGarcia

2.9.2011. 22:05:44
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
Ovaj sadržaj još nije ocijenjen. 
659 Reputacija 84 Ukupno objava
denis

denis

5.9.2011. 14:33:51
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?
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
DavidGarcia

DavidGarcia

5.9.2011. 21:00:58
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
Ovaj sadržaj još nije ocijenjen. 
659 Reputacija 84 Ukupno objava
denis

denis

5.9.2011. 21:19:01
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?
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
1 2