From: Jess Robinson Date: Tue, 15 May 2012 16:26:02 +0000 (+0000) Subject: Attempts to support openid attribute extension via openid credential, doesnt quite... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6fadc28b85d998a65350295b0d7d3710c989e4c1;p=scpubgit%2Fstemmatology.git Attempts to support openid attribute extension via openid credential, doesnt quite work --- diff --git a/stemmaweb/lib/stemmaweb.pm b/stemmaweb/lib/stemmaweb.pm index 5a84bf3..3366055 100644 --- a/stemmaweb/lib/stemmaweb.pm +++ b/stemmaweb/lib/stemmaweb.pm @@ -73,6 +73,17 @@ __PACKAGE__->config( openid => { credential => { class => 'OpenID', + extensions => ['http://openid.net/srv/ax/1.0' => + { + ns => 'ax', + uri => 'http://openid.net/srv/ax/1.0', + mode => 'fetch_request', + required => 'email', + type => { + email => 'http://axschema.org/contact/email' + } + } + ], }, store => { class => 'Model::KiokuDB',