Solved

single sign on using RPX

Posted on 2009-06-29
8
385 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
  • 5
  • 3
8 Comments
 
LVL 109

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
 

Author Comment

by:SimonHowald
ID: 24748177
0
 
LVL 109

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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:SimonHowald
ID: 24749225
0
 

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 109

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

790 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