Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
bubblev
/
swagger-ui
Suivre
4
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
Fix OAuth2 login when no scope is defined
bubble
Stefano Travelli
il y a 9 ans
Parent
384ffb7e1f
révision
a5f1eeae04
1 fichiers modifiés
avec
1 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
lib/swagger-oauth.js
+ 1
- 1
lib/swagger-oauth.js
Voir le fichier
@@ -14,8 +14,8 @@ function handleLogin() {
var defs = auths;
for(key in defs) {
var auth = defs[key];
oauth2KeyName = key;
if(auth.type === 'oauth2' && auth.scopes) {
oauth2KeyName = key;
var scope;
if(Array.isArray(auth.scopes)) {
// 1.2 support
Écrire
Aperçu
Chargement…
Annuler
Enregistrer