add stored tokens readable to oidc (#1221)

This commit is contained in:
mfrances17 2021-09-24 12:09:44 -04:00 committed by GitHub
parent 4d23bed065
commit 80ed33e832
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ export const AdvancedSettings = ({ isOIDC, isSAML }: AdvancedSettingsProps) => {
<TextField field="config.defaultScope" label="scopes" />
)}
<SwitchField field="storeToken" label="storeTokens" fieldType="boolean" />
{isSAML && (
{(isSAML || isOIDC) && (
<SwitchField
field="addReadTokenRoleOnCreate"
label="storedTokensReadable"