mirror of https://github.com/portainer/portainer
feature(oauth): add provider selector
parent
50c604ee4c
commit
c1939f6070
|
@ -11,7 +11,7 @@
|
|||
ng-model="$ctrl.selectedProvider"
|
||||
ng-options="provider as provider for provider in $ctrl.providers"
|
||||
>
|
||||
<option value="">Custom</option>
|
||||
<option value="">Custom </option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
angular.module('portainer.extensions.oauth')
|
||||
.controller('OAuthSettingsController', function OAuthSettingsController() {
|
||||
this.providers = [
|
||||
'facebook'
|
||||
]
|
||||
});
|
|
@ -1,9 +1,5 @@
|
|||
<div class="form-group">
|
||||
<span class="col-sm-12 text-muted small">
|
||||
When using OAuth authentication, Portainer will allow users to optionally authenticate with an OAuth authorization server.
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<!-- <oauth-providers-selector selected-provider="$ctrl.settings.provider" providers="$ctrl.providers"></oauth-providers-selector> -->
|
||||
|
||||
<div class="col-sm-12 form-section-title">OAuth Configuration</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue