Solved

single sign on using RPX

Posted on 2009-06-29
8
390 Views
Last Modified: 2013-12-13
I'm using example at http://rpxwiki.com/Example-PHP-code (RPXNow.com) to let users to login.
The issue is that when use logged into the system, the basic information is not passed to the site.
e.g. check below:
http://www.totallyfuzzy.net/ourtube/rpx_demo.php  here the basic information is not passed in and we don't see user details.

let me know if I need to correct anything at http://rpxwiki.com/Example-PHP-code or any other sample code would be fine.

thanks!
0
Comment
Question by:SimonHowald
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 24745025
Please post this script on your site, and post a link to it here.  You may want to remove it later, but it would be helpful to see how your server and PHP are configured.  Thanks, ~Ray
<?php phpinfo(); ?>

Open in new window

0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 24748722
OK, it looks like you have JSON, and that's good.  I tried the link above and clicked "Yahoo" - it went to Yahoo and put up my ID to ask for my password, so that part appears to be working.  I did not complete the signin -- no offense, but I am not interested in actually signing in to a foreign site through one of my online accounts.

Maybe if you post the code you are using, we can show you how to add some debugging language.

Best regards, ~Ray
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:SimonHowald
ID: 24749236
my app is just a test of rpx and u can actually signin w/o any hesitation. and later u can remove "list of your sites" from yahoo a/c.  and all the signin are managed by rpx server and not by my app..

0
 

Author Comment

by:SimonHowald
ID: 24749689
np... using http://rpxwiki.com/PHP-Helper-Class works...
but had to put curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); in curl call...


thanks for ur help!
0
 

Author Closing Comment

by:SimonHowald
ID: 31598188
solution is in my last post!
gifting to Ray!
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 24754346
SimonHowald: Thanks very much for the points. I may not really deserve them since I did not actually answer the question, but I'll try to make it up to you someday on another question.  Best regards, ~Ray
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question