<div class="l-admin-content">
    <div ng-if="config.isCustomAuthAllowed" ng-form="config.form" tooltip-position="left">
        <authentication-config config="config.authConfig" license="config.authLicensing" class="admin-form" login-redirect-uri="config.loginRedirectUri" post-logout-redirect-uri="config.postLogoutRedirectUri"></authentication-config>

        <div class="admin-form buttonContainer">
            <spinner-medium ng-if="config.saving.isPending"></spinner-medium>
            <button ng-click="config.save()" ng-disabled="!config.canSave" class="button-raised button-primary">{{::AuthenticationText.Label_SaveAndLogin}}</button>
        </div>
    </div>
    <div ng-if="!config.isCustomAuthAllowed">
        {{::AuthenticationText.Message_NotLicensedForCustomAuth}}
    </div>
</div>
