web/admin: add note that regex is used for redirect URIs

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-05-26 12:52:51 +02:00
parent a81d5a3d41
commit 4b6c1da51d

View file

@ -163,7 +163,7 @@ export class OAuth2ProviderFormPage extends ModelForm<OAuth2Provider, number> {
/> />
</ak-form-element-horizontal> </ak-form-element-horizontal>
<ak-form-element-horizontal <ak-form-element-horizontal
label=${t`Redirect URIs/Origins`} label=${t`Redirect URIs/Origins (RegEx)`}
name="redirectUris" name="redirectUris"
> >
<textarea class="pf-c-form-control"> <textarea class="pf-c-form-control">
@ -176,7 +176,7 @@ ${this.instance?.redirectUris}</textarea
${t`If no explicit redirect URIs are specified, the first successfully used redirect URI will be saved.`} ${t`If no explicit redirect URIs are specified, the first successfully used redirect URI will be saved.`}
</p> </p>
<p class="pf-c-form__helper-text"> <p class="pf-c-form__helper-text">
${t`To allow any redirect URI, set this value to "*". Be aware of the possible security implications this can have.`} ${t`To allow any redirect URI, set this value to ".*". Be aware of the possible security implications this can have.`}
</p> </p>
</ak-form-element-horizontal> </ak-form-element-horizontal>
<ak-form-element-horizontal label=${t`Signing Key`} name="signingKey"> <ak-form-element-horizontal label=${t`Signing Key`} name="signingKey">