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

swagger-ui-react option to enable pkce #9771

Open
kriechi1992 opened this issue Apr 2, 2024 · 0 comments
Open

swagger-ui-react option to enable pkce #9771

kriechi1992 opened this issue Apr 2, 2024 · 0 comments

Comments

@kriechi1992
Copy link

Context

We are using backstage.io as a dev portal - which is using SwaggerUI React to render OpenAPI specs.
Everything is working fine - except the authorization part: Our SSO uses Authorization Code Grant with PKCE.

With my standalone setup and the usePkceWithAuthorizationCodeGrant flag everything works as expected. But I could not manage to enable it in the swagger-ui-react component.

What I tried

If I run a standalone SwaggerUI instance with OAUTH_USE_PKCE=true (which is the equivalent to usePkceWithAuthorizationCodeGrant in the initOAuth method) everything works fine.

What I'd wish for

Add a prop to the list that maps to the usePkceWithAuthorizationCodeGrant flag in the initOAuth method

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

No branches or pull requests

1 participant