Attempts to support openid attribute extension via openid credential, doesnt quite...
[scpubgit/stemmaweb.git] / lib / stemmaweb.pm
index 5a84bf3..3366055 100644 (file)
@@ -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',