Get email and token from g+
[scpubgit/stemmaweb.git] / lib / stemmaweb.pm
index 4a8f77a..00c52cc 100644 (file)
@@ -94,6 +94,15 @@ __PACKAGE__->config(
             },
             auto_create_user => 1,
         },
+        google => {
+            credential => {
+                class => '+stemmaweb::Authentication::Credential::Google',
+            },
+            store => {
+                class => 'Model::KiokuDB',
+                model_name => 'Directory',
+            }
+        },
     },
     ## Auth with CatalystX::Controller::Auth
     'Controller::Users' => {