The realm is the what you named your application on rpxnow.com:

https://[your_realm].rpxnow.com/openid/embed?token_url=your_token_url

The token_url is where they send the token after logging in at the
respective provider.  You would change it from localhost to your
production URL when you deploy.

On Nov 16, 5:56 am, murray3 <ch...@murraypost.net> wrote:
> Mr Freeze,
> thanks for this, I am trying to get it to work but seem to have a
> problem when
> the iframe choose provider popup displays it does not recognise the
> rpxnow.com url:
>
> Server not found
> Firefox can't find the server at ....rpxnow.com.
>
> in the controller I have pasted yoiur code as per "slice" but could
> you give some more feedback on this:
>
> from applications.init.modules.rpxauth import RPXAuth
> rpxAuth = RPXAuth(auth)
> #rpxAuth.embed = True
> #rpxAuth.allow_local = True
> rpxAuth.api_key = "yeh got this from rpxnow"
> rpxAuth.realm = "..." -- not sure what this should be??
> rpxAuth.token_url = "http://localhost:8000/init/default/user/login"; -
> I presume this works from local web2py
>
> thanks again for sharing your code, your feedback most appreciated.
> chrism
>
> On Nov 12, 12:56 am, "mr.freeze" <nat...@freezable.com> wrote:
>
> > This lightweight module allows you to useRPXmulti-provider single
> > sign on service and web2py forms auth concurrently.
>
> >http://www.web2pyslices.com/main/slices/take_slice/28
>
> > Enjoy!
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to