sources/oauth: add additional scopes field to get additional data from provider
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> #2047
This commit is contained in:
@ -208,6 +208,10 @@ msgstr "Addition Group DN"
|
||||
msgid "Addition User DN"
|
||||
msgstr "Addition User DN"
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional Scope"
|
||||
msgstr "Additional Scope"
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional group DN, prepended to the Base DN."
|
||||
msgstr "Additional group DN, prepended to the Base DN."
|
||||
@ -216,6 +220,10 @@ msgstr "Additional group DN, prepended to the Base DN."
|
||||
msgid "Additional scope mappings, which are passed to the proxy."
|
||||
msgstr "Additional scope mappings, which are passed to the proxy."
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional scopes to be passed to the OAuth Provider, separated by space."
|
||||
msgstr "Additional scopes to be passed to the OAuth Provider, separated by space."
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional settings"
|
||||
msgstr "Additional settings"
|
||||
|
||||
@ -213,6 +213,10 @@ msgstr "Préfixe DN groupes"
|
||||
msgid "Addition User DN"
|
||||
msgstr "Préfixe DN utilisateurs"
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional Scope"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional group DN, prepended to the Base DN."
|
||||
msgstr "DN à préfixer au DN de base pour les groupes"
|
||||
@ -221,6 +225,10 @@ msgstr "DN à préfixer au DN de base pour les groupes"
|
||||
msgid "Additional scope mappings, which are passed to the proxy."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional scopes to be passed to the OAuth Provider, separated by space."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional settings"
|
||||
msgstr "Paramètres supplémentaire"
|
||||
|
||||
@ -208,6 +208,10 @@ msgstr ""
|
||||
msgid "Addition User DN"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional Scope"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional group DN, prepended to the Base DN."
|
||||
msgstr ""
|
||||
@ -216,6 +220,10 @@ msgstr ""
|
||||
msgid "Additional scope mappings, which are passed to the proxy."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional scopes to be passed to the OAuth Provider, separated by space."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional settings"
|
||||
msgstr ""
|
||||
|
||||
@ -210,6 +210,10 @@ msgstr "Toplama Grubu DN"
|
||||
msgid "Addition User DN"
|
||||
msgstr "Ekleme Kullanıcı DN"
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional Scope"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional group DN, prepended to the Base DN."
|
||||
msgstr "Ek grup DN, Base DN için eklenmiş."
|
||||
@ -218,6 +222,10 @@ msgstr "Ek grup DN, Base DN için eklenmiş."
|
||||
msgid "Additional scope mappings, which are passed to the proxy."
|
||||
msgstr "Proxy'ye iletilen ek kapsam eşlemeleri."
|
||||
|
||||
#: src/pages/sources/oauth/OAuthSourceForm.ts
|
||||
msgid "Additional scopes to be passed to the OAuth Provider, separated by space."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/sources/ldap/LDAPSourceForm.ts
|
||||
msgid "Additional settings"
|
||||
msgstr "Ek ayarlar"
|
||||
|
||||
@ -52,7 +52,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||
}
|
||||
|
||||
@property({ attribute: false })
|
||||
providerType?: SourceType;
|
||||
providerType: SourceType | null = null;
|
||||
|
||||
getSuccessMessage(): string {
|
||||
if (this.instance) {
|
||||
@ -257,6 +257,21 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||
</div>
|
||||
</ak-form-group>
|
||||
${this.renderUrlOptions()}
|
||||
<ak-form-element-horizontal
|
||||
label=${t`Additional Scope`}
|
||||
?required=${true}
|
||||
name="additionalScopes"
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
value="${first(this.instance?.additionalScopes, "")}"
|
||||
class="pf-c-form-control"
|
||||
required
|
||||
/>
|
||||
<p class="pf-c-form__helper-text">
|
||||
${t`Additional scopes to be passed to the OAuth Provider, separated by space.`}
|
||||
</p>
|
||||
</ak-form-element-horizontal>
|
||||
<ak-form-group>
|
||||
<span slot="header"> ${t`Flow settings`} </span>
|
||||
<div slot="body" class="pf-c-form">
|
||||
|
||||
Reference in New Issue
Block a user