Ver a proveniência

Fix - Swagger/Swashbuckle OAuth2 Authorizations not set #1134

bubble
vprefournier há 9 anos
ascendente
cometimento
6761fd7a98
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      lib/swagger-oauth.js

+ 1
- 1
lib/swagger-oauth.js Ver ficheiro

@@ -277,7 +277,7 @@ window.onOAuthComplete = function onOAuthComplete(token) {
}
}
});
window.authorizations.add(oauth2KeyName, new ApiKeyAuthorization('Authorization', 'Bearer ' + b, 'header'));
window.swaggerUi.api.clientAuthorizations.add(oauth2KeyName, new SwaggerClient.ApiKeyAuthorization('Authorization', 'Bearer ' + b, 'header'));
}
}
}

Carregando…
Cancelar
Guardar