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

elements: support Content-Security-Policy #1983

Open
2 tasks done
abh opened this issue Nov 26, 2024 · 0 comments
Open
2 tasks done

elements: support Content-Security-Policy #1983

abh opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@abh
Copy link

abh commented Nov 26, 2024

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Description

When using the default inline styles for elements, a Content-Security-Policy needs to have "unsafe-inline" allowed.

Describe your ideal solution

Hanko could have an option to accept a nonce to include with the inline styles, I think.

Workarounds or alternatives

No response

Hanko Version

latest

Additional Context

I use https://cdn.jsdelivr.net/npm/@teamhanko/hanko-elements/dist/elements.js which I think is the latest version?

@abh abh added the enhancement New feature or request label Nov 26, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Hanko Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant