Added missing field (#2691)
This commit is contained in:
parent
2153c98a7d
commit
97d932d832
3 changed files with 28 additions and 1 deletions
|
@ -90,6 +90,7 @@
|
|||
"excludeSessionStateFromAuthenticationResponse": "If this is on, the parameter 'session_state' will not be included in OpenID Connect Authentication Response. It is useful if your client uses older OIDC / OAuth2 adapter, which does not support 'session_state' parameter.",
|
||||
"useRefreshTokens": "If this is on, a refresh_token will be created and added to the token response. If this is off then no refresh_token will be generated.",
|
||||
"useRefreshTokenForClientCredentialsGrant": "If this is on, a refresh_token will be created and added to the token response if the client_credentials grant is used. The OAuth 2.0 RFC6749 Section 4.4.3 states that a refresh_token should not be generated when client_credentials grant is used. If this is off then no refresh_token will be generated and the associated user session will be removed.",
|
||||
"useLowerCaseBearerType": "If this is on, token responses will be set the with the type \"bearer\" in lower-case. By default, the server sets the type as \"Bearer\" as defined by RFC6750.",
|
||||
"advancedSettingsOpenid-connect": "This section is used to configure advanced settings of this client related to OpenID Connect protocol",
|
||||
"advancedSettingsSaml": "This section is used to configure advanced settings of this client",
|
||||
"assertionLifespan": "Lifespan set in the SAML assertion conditions. After that time the assertion will be invalid. The \"SessionNotOnOrAfter\" attribute is not modified and continue using the \"SSO Session Max\" time defined at realm level.",
|
||||
|
|
|
@ -462,6 +462,7 @@
|
|||
"excludeSessionStateFromAuthenticationResponse": "Exclude Session State From Authentication Response",
|
||||
"useRefreshTokens": "Use refresh tokens",
|
||||
"useRefreshTokenForClientCredentialsGrant": "Use refresh tokens for client credentials grant",
|
||||
"useLowerCaseBearerType": "Use lower-case bearer type in token responses",
|
||||
"assertionConsumerServicePostBindingURL": "Assertion Consumer Service POST Binding URL",
|
||||
"assertionConsumerServiceRedirectBindingURL": "Assertion Consumer Service Redirect Binding URL",
|
||||
"logoutServicePostBindingURL": "Logout Service POST Binding URL",
|
||||
|
|
|
@ -98,7 +98,32 @@ export const OpenIdConnectCompatibilityModes = ({
|
|||
)}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup
|
||||
label={t("useLowerCaseBearerType")}
|
||||
fieldId="useLowerCaseBearerType"
|
||||
hasNoPaddingTop
|
||||
labelIcon={
|
||||
<HelpItem
|
||||
helpText="clients-help:useLowerCaseBearerType"
|
||||
fieldLabelId="clients:useLowerCaseBearerType"
|
||||
/>
|
||||
}
|
||||
>
|
||||
<Controller
|
||||
name="attributes.token.response.type.bearer.lower-case"
|
||||
defaultValue="false"
|
||||
control={control}
|
||||
render={({ onChange, value }) => (
|
||||
<Switch
|
||||
id="useLowerCaseBearerType"
|
||||
label={t("common:on")}
|
||||
labelOff={t("common:off")}
|
||||
isChecked={value === "true"}
|
||||
onChange={(value) => onChange(value.toString())}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
</FormGroup>
|
||||
<ActionGroup>
|
||||
<Button variant="secondary" onClick={save}>
|
||||
{t("common:save")}
|
||||
|
|
Loading…
Reference in a new issue