oauth dance works
[grauphel.git] / appinfo / routes.php
index da62dc9..5567670 100644 (file)
@@ -14,13 +14,8 @@ $application->registerRoutes(
             array(
                 'url'  => '/authorize',
                 'name' => 'access#authorize',
-                'verb' => 'GET',
-            ),/*
-            array(
-                'url'  => '/authorize',
-                'name' => 'access#authorize',
                 'verb' => 'POST',
-                ),*/
+                ),
             array(
                 'url'  => '/login',
                 'name' => 'access#login',
@@ -38,6 +33,11 @@ $application->registerRoutes(
                 'verb' => 'GET',
             ),
             array(
+                'url'  => '/oauth/confirm',
+                'name' => 'oauth#confirm',
+                'verb' => 'POST',
+            ),
+            array(
                 'url'  => '/oauth/request_token',
                 'name' => 'oauth#requestToken',
                 'verb' => 'POST',