From bc494dac56fe2f79e6321358f2b8af48f172aa17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=20=EC=9E=AC=EC=84=9D?= Date: Tue, 22 Nov 2016 11:56:45 +0900 Subject: [PATCH] fix authorization code grant to work --- lib/swagger-oauth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/swagger-oauth.js b/lib/swagger-oauth.js index 553ccc0e..5d8354df 100644 --- a/lib/swagger-oauth.js +++ b/lib/swagger-oauth.js @@ -270,7 +270,7 @@ window.processOAuthCode = function processOAuthCode(data) { $.ajax( { - url : window.swaggerUi.tokenUrl, + url : window.swaggerUiAuth.tokenUrl, type: "POST", data: params, success:function(data, textStatus, jqXHR)