Sfoglia il codice sorgente

Oauth 2.0: use space as delimiter for scopes.

bubble
Ivan Goncharov 9 anni fa
committed by Mohsen Azimi
parent
commit
cae9755076
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      lib/swagger-oauth.js

+ 1
- 1
lib/swagger-oauth.js Vedi File

@@ -147,7 +147,7 @@ function handleLogin() {
url += '&redirect_uri=' + encodeURIComponent(redirectUrl);
url += '&realm=' + encodeURIComponent(realm);
url += '&client_id=' + encodeURIComponent(clientId);
url += '&scope=' + encodeURIComponent(scopes);
url += '&scope=' + encodeURIComponent(scopes.join(' '));

window.open(url);
});


Caricamento…
Annulla
Salva