File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ export default class Oauth2 extends React.Component {
130130 const AUTH_FLOW_ACCESS_CODE = isOAS3 ( ) ? ( oidcUrl ? "authorization_code" : "authorizationCode" ) : "accessCode"
131131 const AUTH_FLOW_APPLICATION = isOAS3 ( ) ? ( oidcUrl ? "client_credentials" : "clientCredentials" ) : "application"
132132
133- let authConfigs = authSelectors . getConfigs ( )
134- let isPkceCodeGrant = authConfigs . usePkceWithAuthorizationCodeGrant === "true" || authConfigs . usePkceWithAuthorizationCodeGrant === true
133+ let authConfigs = authSelectors . getConfigs ( ) || { }
134+ let isPkceCodeGrant = ! ! authConfigs . usePkceWithAuthorizationCodeGrant
135135
136136 let flow = schema . get ( "flow" )
137137 let flowToDisplay = flow === AUTH_FLOW_ACCESS_CODE && isPkceCodeGrant ? flow + " with PKCE" : flow
You can’t perform that action at this time.
0 commit comments