Skip to content

Commit

Permalink
fix(auth): client_secret may appear in non-authcode flows while also …
Browse files Browse the repository at this point in the history
…using PKCE (#8146)
  • Loading branch information
Risthart committed Aug 10, 2022
1 parent 46dece6 commit c63737d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/auth/oauth2.jsx
Expand Up @@ -212,7 +212,7 @@ export default class Oauth2 extends React.Component {
}

{
( (flow === AUTH_FLOW_APPLICATION || flow === AUTH_FLOW_ACCESS_CODE || flow === AUTH_FLOW_PASSWORD) && !isPkceCodeGrant && <Row>
( (flow === AUTH_FLOW_APPLICATION || flow === AUTH_FLOW_ACCESS_CODE && !isPkceCodeGrant || flow === AUTH_FLOW_PASSWORD) && <Row>
<label htmlFor="client_secret">client_secret:</label>
{
isAuthorized ? <code> ****** </code>
Expand Down

0 comments on commit c63737d

Please sign in to comment.