mirror of https://github.com/portainer/portainer
fix(oauth): fix settings displaying issue for custom OAuth configuration
parent
f5091ce5fb
commit
60fbfeba23
|
@ -28,6 +28,11 @@ angular.module('portainer.extensions.oauth')
|
||||||
name: 'github'
|
name: 'github'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
authUrl: '',
|
||||||
|
accessTokenUrl: '',
|
||||||
|
resourceUrl: '',
|
||||||
|
userIdentifier: '',
|
||||||
|
scopes: '',
|
||||||
name: 'custom'
|
name: 'custom'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -53,6 +58,6 @@ angular.module('portainer.extensions.oauth')
|
||||||
else if (providerAuthURL.indexOf('github.com') !== -1) {
|
else if (providerAuthURL.indexOf('github.com') !== -1) {
|
||||||
return ctrl.providers[2];
|
return ctrl.providers[2];
|
||||||
}
|
}
|
||||||
return ctrl.provider[3];
|
return ctrl.providers[3];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue