Add ability to configure custom email and username claims

This will help customers support active directory-based OIDC
This commit is contained in:
Joseph Schorr 2018-09-07 15:26:32 -04:00
parent 5240140a96
commit 90c0e34945
3 changed files with 51 additions and 3 deletions

View file

@ -1201,6 +1201,32 @@
</div>
</td>
</tr>
<tr>
<td>Verified E-mail Address Claim (optional):</td>
<td>
<span class="config-string-field"
binding="config[provider].VERIFIED_EMAIL_CLAIM_NAME"
placeholder="User information JWT claim that contains the verified e-mail"
is-optional="true">
</span>
<div class="help-text">
If specified, the claim in the User Information JWT that contains the verified e-mail address for the user.
</div>
</td>
</tr>
<tr>
<td>Preferred Username Claim (optional):</td>
<td>
<span class="config-string-field"
binding="config[provider].PREFERRED_USERNAME_CLAIM_NAME"
placeholder="User information JWT claim that contains the preferred username"
is-optional="true">
</span>
<div class="help-text">
If specified, the claim in the User Information JWT that contains the preferred username for the user.
</div>
</td>
</tr>
<tr ng-if="config.AUTHENTICATION_TYPE != 'Database' && config.AUTHENTICATION_TYPE != 'AppToken'">
<td>Binding Field:</td>
<td>