oauth dance works
[grauphel.git] / appinfo / routes.php
index da62dc988ed1be821a5c7c2e969cc857b1bd26a8..5567670fecec69fa01e4a8c5405f3ecd802d5dd9 100644 (file)
@@ -11,16 +11,11 @@ $application->registerRoutes(
                 'name' => 'access#test',
             ),
 
-            array(
-                'url'  => '/authorize',
-                'name' => 'access#authorize',
-                'verb' => 'GET',
-            ),/*
             array(
                 'url'  => '/authorize',
                 'name' => 'access#authorize',
                 'verb' => 'POST',
-                ),*/
+                ),
             array(
                 'url'  => '/login',
                 'name' => 'access#login',
@@ -37,6 +32,11 @@ $application->registerRoutes(
                 'name' => 'oauth#authorize',
                 'verb' => 'GET',
             ),
+            array(
+                'url'  => '/oauth/confirm',
+                'name' => 'oauth#confirm',
+                'verb' => 'POST',
+            ),
             array(
                 'url'  => '/oauth/request_token',
                 'name' => 'oauth#requestToken',