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

Accept a nonce for SwaggerUI to allow strict CSPs #605

Closed
avenderossa opened this issue Apr 15, 2024 · 1 comment
Closed

Accept a nonce for SwaggerUI to allow strict CSPs #605

avenderossa opened this issue Apr 15, 2024 · 1 comment

Comments

@avenderossa
Copy link

When using a strict CSP you're unable to load /swaggerui due to the inline scripts included in the static html. Allowing a nonce to be passed into the config will allow this to be used with a strict CSP.

@mbuhot
Copy link
Collaborator

mbuhot commented May 12, 2024

Should be resolved by #593

@mbuhot mbuhot closed this as completed May 12, 2024
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

2 participants