Fixes #306 - Adds support for Dex as an OAuth external login provider - Adds support for OIDC in general - Extract out external logins on the JS side into a service - Add a feature flag for disabling direct login - Add support for directing to the single external login service - Does *not* yet support the config in the superuser tool
14 lines
625 B
HTML
14 lines
625 B
HTML
<span class="external-login-button-element">
|
|
<a href="javascript:void(0)" ng-class="isLink ? '' : 'btn btn-primary btn-block'"
|
|
ng-if="providerInfo.enabled" ng-click="startSignin()" style="margin-bottom: 10px"
|
|
ng-disabled="signingIn">
|
|
<img ng-src="{{ providerInfo.icon().url }}" ng-if="providerInfo.icon().url">
|
|
<i class="fa" ng-class="providerInfo.icon().icon" ng-if="providerInfo.icon().icon"></i>
|
|
<span ng-if="action != 'attach'">
|
|
Sign In with {{ providerInfo.title() }}
|
|
</span>
|
|
<span ng-if="action == 'attach'">
|
|
Attach to {{ providerInfo.title() }}
|
|
</span>
|
|
</a>
|
|
</span>
|