<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" face="Tahoma" size="2">If you want to grab other user data then you have to use an extension</font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><div><font class="Apple-style-span" face="Tahoma" size="2"> openid => {</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> credential => {</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> class => "OpenID",</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> store => {</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> class => "OpenID",</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> },</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> consumer_secret => "Don't bother setting",</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> ua_class => "LWP::UserAgent",</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> # whitelist is only relevant for LWPx::ParanoidAgent</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> ua_args => {</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> whitelisted_hosts => [qw/ 127.0.0.1 localhost /],</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> },</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> extensions => [</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> </font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'http://openid.net/srv/ax/1.0' => {</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> mode => 'fetch_request',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.nickname' => 'http://axschema.org/namePerson/friendly',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.email' => 'http://axschema.org/contact/email',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.fullname' => 'http://axschema.org/namePerson',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.firstname' => 'http://axschema.org/namePerson/first',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.lastname' => 'http://axschema.org/namePerson/last',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.dob' => 'http://axschema.org/birthDate',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.gender' => 'http://axschema.org/person/gender',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.country' => 'http://axschema.org/contact/country/home',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.language' => 'http://axschema.org/pref/language',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> 'type.timezone' => 'http://axschema.org/pref/timezone',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> required => 'nickname,fullname,email,firstname,lastname',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> if_available => 'dob,gender,country,language,timezone',</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> }</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> ],</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> },</font></div><br><div id="SkyDrivePlaceholder" style="font-family: Tahoma; font-size: 10pt; "></div><hr id="stopSpelling" style="font-family: Tahoma; font-size: 10pt; "><font class="Apple-style-span" face="Tahoma" size="2">To: catalyst@lists.scsys.co.uk</font><br><font class="Apple-style-span" face="Tahoma" size="2">Subject: RE: [Catalyst] Authentication using OpenID</font><br><font class="Apple-style-span" face="Tahoma" size="2">Date: Fri, 10 Dec 2010 20:01:20 +0530</font><br><font class="Apple-style-span" face="Tahoma" size="2">From: vivek@chhikara.org</font><br><br><p style="font-family: Tahoma; font-size: 10pt; ">OK.</p>
<p style="font-family: Tahoma; font-size: 10pt; ">I am able to use "Catalyst::Authentication::Credential::OpenID", and after authenticating with google, I get</p>
<p style="font-family: Tahoma; font-size: 10pt; ">Catalyst::Plugin::Authentication::User::Hash object, but when i try to get the user details,</p>
<pre class="ecxprettyprint" style="font-family: Tahoma; font-size: 10pt; "><span style="background-color:#888888"><code><span class="ecxpln"> $c</span><span class="ecxpun">-></span><span class="ecxpln">user</span><span class="ecxpun">-></span><span class="ecxpln">url<br> $c</span><span class="ecxpun">-></span><span class="ecxpln">user</span><span class="ecxpun">-></span><span class="ecxpln">display</span></code></span></pre>
<p style="font-family: Tahoma; font-size: 10pt; ">I am getting exceptions related to method not found.</p>
<p style="font-family: Tahoma; font-size: 10pt; ">Can we access used details say Name , Email etc using "Catalyst::Authentication::Credential::OpenID" or </p>
<p style="font-family: Tahoma; font-size: 10pt; ">we have to use something else say oAuth to get details.</p>
<p style="font-family: Tahoma; font-size: 10pt; ">Basically, I want to simplify the user registration to my app when somebody logs in for the first time.</p>
<p style="font-family: Tahoma; font-size: 10pt; "> </p>
<p style="font-family: Tahoma; font-size: 10pt; ">Vivek</p>
<p style="font-family: Tahoma; font-size: 10pt; "> </p>
<p style="font-family: Tahoma; font-size: 10pt; ">On Fri, 10 Dec 2010 14:14:38 +0000, Blaine Everingham <grandmasterblaine@hotmail.com> wrote:</p>
<blockquote style="padding-left: 5px; border-left-color: rgb(16, 16, 255); border-left-width: 2px; border-left-style: solid; margin-left: 5px; width: 100%; font-family: Tahoma; font-size: 10pt; "> Currently Facebook is not part of OpenID. Therefore you would need to have two different authentication credential modules. <br><br>OpenID<br>Catalyst::Authentication::Credential::OpenID<br><br>Facebook<br>Catalyst::Authentication::Credential::FBConnect<br><br><br>
<hr id="ecxstopSpelling">
Date: Fri, 10 Dec 2010 00:11:46 +0530<br>From: vivek@chhikara.org<br>To: catalyst@lists.scsys.co.uk<br>Subject: [Catalyst] Authentication using OpenID<br><br>Hi,<br><br>I want to have my users authenticated using openid. If users are logging in for the first time, I want to get the details, provided by say facebook, to be saved in my DB.<br><br>Which Catalyst authentication Plug-in should be used in order to achieve this goal.<br><br>Vivek<br>
<div id="ecxArrowLayer1d66jed" style="font-size:11px;visibility:hidden;z-index:11000;top:-100px"><img id="ecxarrow_bg_image" style="font-size:11px;width:0px;height:0px;z-index:11001;top:0px;left:0px" alt=""></div>
<div id="ecxBubbleLayer1d66jed" style="font-size:11px;text-align:left;visibility:hidden;z-index:11002;top:-100px">
<div id="ecxBALLOONLOGODIV1d66jed" style="left:18px;top:2px;height:50px">
<table style="height:100%;border:0pt none">
<tbody>
<tr>
<td id="ecxBALLOONLOGO1d66jed" style="border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt=""></td>
</tr>
</tbody>
</table>
</div>
<table id="ecxBALLOON1d66jed" style="width:100%;cursor:default;border-style:none" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0pt;border:0pt none;width:100%;height:51px">
<table id="ecxHEADER_ROW1d66jed" style="border:0pt none;width:100%;height:100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="ecxHEADER_L1d66jed" style="padding:0pt;border:0pt none;background-repeat:no-repeat" width="18px"> </td>
<td id="ecxHEADER_C1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-x;color:gray" align="right"> </td>
<td id="ecxHEADER_R1d66jed" style="padding:0pt;border:0pt none;background-repeat:no-repeat" width="38px" align="left" valign="middle"><img id="ecxclosebutton1d66jed" style="height:25px;width:25px" src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt=""></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0pt;border:0pt none;width:100%;height:52px">
<table style="border:0pt none;width:100%;height:100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="ecxBANNER_BORDER_L1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="2px"><br></td>
<td style="padding:0pt;border:0pt none">
<table id="ecxBANNER_ROW1d66jed" style="width:100%;height:100%;border:1px solid White" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="ecxBANNER_L1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="13px"> </td>
<td id="ecxBANNER_C1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-x" valign="middle">
<table style="border:0pt none" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tbody>
<tr>
<td id="ecxICON1d66jed" style="padding:0pt;border:0pt none" width="54px"><img style="vertical-align:middle" src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt=""></td>
<td style="padding:0pt;border:0pt none" width="10px"> </td>
<td id="ecxBANNER_SEP1d66jed" style="padding:0pt;border:0pt none" width="10px"><img style="vertical-align:middle" src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt=""></td>
<td style="padding:0pt;border:0pt none" width="10px"> </td>
<td id="ecxRECOMMENDATION1d66jed" class="ecxsastyle_text_overallrec" style="padding:0pt;border:0pt none;color:white"> </td>
<td style="padding:0pt;border:0pt none" width="10px"> </td>
</tr>
</tbody>
</table>
</td>
<td id="ecxBANNER_R1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="13px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
</tbody>
</table>
</td>
<td id="ecxBANNER_BORDER_R1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="2px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0pt;border:0pt none;height:100%;width:100%">
<table id="ecxBOTTOM_ROW1d66jed" class="ecxsastyle_text_contentclass" style="border:0pt none;width:100%;height:100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="ecxBOTTOM_L1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="2px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxBOTTOM_C1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat;background-position:left bottom">
<table style="border:0pt none" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="padding:0pt;border:0pt none" width="15px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecx" style="padding:0pt;border:0pt none;background-repeat:repeat">
<table style="border:0pt none" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxSATITLE1d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none;font-weight:bold"> </td>
</tr>
<tr>
<td id="ecxDOMAIN1d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none"> </td>
</tr>
<tr>
<td id="ecxWARN_TB1d66jed" class="ecxsastyle_link_moreinfo" style="padding:0pt;border:0pt none"><a id="ecxWARN_LINK1d66jed" style="color:#0000de" target="_blank"></a><br></td>
</tr>
<tr>
<td style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
</tbody>
</table>
</td>
<td id="ecx" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="2px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td style="padding:0pt;border:0pt none;height:40px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td style="padding:0pt;border:0pt none">
<table style="border:0pt none" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tbody>
<tr>
<td id="ecxBOTTOM_LEFT1d66jed" style="padding:0pt;border:0pt none" valign="top">
<table style="border:0pt none" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tbody>
<tr>
<td id="ecxFACET_IMAGE_01d66jed" style="padding:0pt;border:0pt none" width="21px" height="0px" valign="middle"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxFACET_RECCOMENDATION_01d66jed" class="ecxsastyle_text_facetrec" style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxFACET_IMAGE_11d66jed" style="padding:0pt;border:0pt none" height="0px" valign="middle"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxFACET_RECCOMENDATION_11d66jed" class="ecxsastyle_text_facetrec" style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxFACET_IMAGE_21d66jed" style="padding:0pt;border:0pt none" height="0px" valign="middle"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxFACET_RECCOMENDATION_21d66jed" class="ecxsastyle_text_facetrec" style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td class="ecxsastyle_link_moreinfo" style="padding:0pt;border:0pt none" colspan="2"><a id="ecxDOSSIER_LINK1d66jed" style="text-decoration:underline;color:#0000de" target="_blank"></a><br></td>
</tr>
</tbody>
</table>
</td>
<td id="ecxBOTTOM_SEP1d66jed" style="padding:0pt;border-left:1px solid Gray;border-bottom:0pt none;visibility:hidden" width="10px" height="100%"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="10px" height="1px"></td>
<td id="ecxBOTTOM_RIGHT1d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none" width="50%" valign="top">
<table style="border:0pt none" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td id="ecxCCHeader1d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none;font-weight:bold" colspan="2" width="100%"><br></td>
</tr>
<tr>
<td id="ecxCC_IMAGE_01d66jed" style="padding:0pt;border:0pt none" width="8px" height="0px" valign="middle"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxCC_DESC_01d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxCC_IMAGE_11d66jed" style="padding:0pt;border:0pt none" height="0px" valign="middle"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxCC_DESC_11d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxCC_IMAGE_21d66jed" style="padding:0pt;border:0pt none" height="0px" valign="middle"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxCC_DESC_21d66jed" class="ecxsastyle_text_contentclass" style="padding:0pt;border:0pt none"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td class="ecxsastyle_link_moreinfo" style="padding:5px 0pt 0pt;border:0pt none" colspan="2"><a id="ecxCCDesc1d66jed" style="text-decoration:none;margin-right:10px" target="_blank"></a> <br></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td style="padding:0pt;border:0pt none" width="10px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxUPSELL_BORDER1d66jed" style="padding:0pt;border-left:0pt none;border-bottom:0pt none;visibility:hidden" colspan="3" width="100%" align="right"><img id="ecxUPSELL_SEP1d66jed" src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
<tr>
<td id="ecxUPSELL1d66jed" style="padding:0pt;border:0pt none;text-align:right" colspan="3" align="right"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"><a id="ecxUPSELL_LINK1d66jed" class="ecxsastyle_link_upsell" style="text-decoration:none;margin-right:10px;color:#0000de" target="_blank"></a></td>
</tr>
</tbody>
</table>
</td>
<td id="ecxBOTTOM_R1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-y" width="2px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0pt;border:0pt none;width:100%">
<table id="ecxFOOTER_ROW1d66jed" style="border:0pt none;width:100%;height:100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="ecxFOOTER_L1d66jed" style="padding:0pt;border:0pt none;background-repeat:no-repeat" width="9px" height="9px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxFOOTER_C1d66jed" style="padding:0pt;border:0pt none;background-repeat:repeat-x"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
<td id="ecxFOOTER_R1d66jed" style="padding:0pt;border:0pt none;background-repeat:no-repeat" width="9px"><img src="http://gfx2.hotmail.com/mail/w4/pr04/ltr/i_safe.gif" alt="" width="1px" height="1px"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<br>_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/</blockquote>
<p style="font-family: Tahoma; font-size: 10pt; "> </p>
<div style="font-family: Tahoma; font-size: 10pt; ">-- <br>
<pre><a href="http://www.chhikara.org/wordpress" target="_blank">Vivek Chhikara</a></pre>
</div><br><font class="Apple-style-span" face="Tahoma" size="2">_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/</font></div>                                            </body>
</html>