Revert "Revert "Authorization service with POST (support API version 1.1)""
This reverts commit 6bdddf407b2d03a87b13c5183c0a678d534cca3d.
Change-Id: I366cf6f68a14c54cf2ca99a9724962b86a684200
diff --git a/t/server/mock.pl b/t/server/mock.pl
index 0aa8a9b..134fb97 100644
--- a/t/server/mock.pl
+++ b/t/server/mock.pl
@@ -848,7 +848,7 @@
);
};
-post '/v1.0/oauth2/authorize' => sub {
+get '/v1.0/oauth2/authorize' => sub {
my $c = shift;
my $type = $c->param('response_type');
my $client_id = $c->param('client_id');