send configType and redirectBehavior as int instead of string for request (#1339)

This commit is contained in:
Jake Fink 2021-12-14 13:25:48 -05:00 committed by GitHub
parent 17ae5ee57c
commit 214f82e142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -83,9 +83,9 @@
<div class="form-group"> <div class="form-group">
<label for="type">{{'type' | i18n}}</label> <label for="type">{{'type' | i18n}}</label>
<select class="form-control" id="type" formControlName="configType"> <select class="form-control" id="type" formControlName="configType">
<option value="0" disabled>{{'selectType' | i18n}}</option> <option [ngValue]="0" disabled>{{'selectType' | i18n}}</option>
<option value="1">OpenID Connect</option> <option [ngValue]="1">OpenID Connect</option>
<option value="2">SAML 2.0</option> <option [ngValue]="2">SAML 2.0</option>
</select> </select>
</div> </div>
@ -138,8 +138,8 @@
<div class="form-group"> <div class="form-group">
<label for="redirectBehavior">{{'oidcRedirectBehavior' | i18n}}</label> <label for="redirectBehavior">{{'oidcRedirectBehavior' | i18n}}</label>
<select class="form-control" formControlName="redirectBehavior" id="redirectBehavior"> <select class="form-control" formControlName="redirectBehavior" id="redirectBehavior">
<option value="0">Redirect GET</option> <option [ngValue]="0">Redirect GET</option>
<option value="1">Form POST</option> <option [ngValue]="1">Form POST</option>
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">