Solved

single sign on using RPX

Posted on 2009-06-29
8
386 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
 

Author Comment

by:SimonHowald
ID: 24748177
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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 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

Industry Leaders: 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!

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

726 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