Skip to content

Commit

Permalink
fix authorization code grant to work
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaesvk committed Nov 22, 2016
1 parent 46fbae2 commit bc494da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swagger-oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc494da

Please sign in to comment.