Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting useBasicAuthenticationWithAccessCodeGrant disables usePkceWithAuthorizationCodeGrant #7037

Closed
hcldan opened this issue Mar 5, 2021 · 0 comments · Fixed by #7038
Closed

Comments

@hcldan
Copy link
Contributor

hcldan commented Mar 5, 2021

Q&A (please complete the following information)

  • OS: linux
  • Browser: chrome
  • Version: latest
  • Method of installation: swagger-ui-express
  • Swagger-UI version: 3.44.0
  • Swagger/OpenAPI version: OpenAPI 3.0

Content & configuration

initOAuth({
      usePkceWithAuthorizationCodeGrant: true,
      useBasicAuthenticationWithAccessCodeGrant: true,
})

Describe the bug you're encountering

I was using

initOAuth({
      usePkceWithAuthorizationCodeGrant: true,
})

and saw the pkce post params fine.

when I added to it useBasicAuthenticationWithAccessCodeGrant

It stopped sending the pkce post params

Screenshots

image

hcldan added a commit to hcldan/swagger-ui that referenced this issue Mar 5, 2021
Fixes swagger-api#7037

I hope... it looks like it should but the setup I am using only seems to have minified swagger-ui code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant