Skip to content

Commit bc494da

Browse files
committed
fix authorization code grant to work
1 parent 46fbae2 commit bc494da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/swagger-oauth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ window.processOAuthCode = function processOAuthCode(data) {
270270

271271
$.ajax(
272272
{
273-
url : window.swaggerUi.tokenUrl,
273+
url : window.swaggerUiAuth.tokenUrl,
274274
type: "POST",
275275
data: params,
276276
success:function(data, textStatus, jqXHR)

0 commit comments

Comments
 (0)