supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
278 stars 72 forks source link

fix: CSP issues on dashboard recipe #793

Closed Chakravarthy7102 closed 4 months ago

Chakravarthy7102 commented 4 months ago

Summary of change

Introduces a new optional boolean parameter named overrideCSPHeaders to the dashboard config. This allows users to bypass the pre-defined Content Security Policy (CSP) configuration.

TODO

Related issues

Test Plan

Manually tested with a demo app.

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

Remaining TODOs for this PR

netlify[bot] commented 4 months ago

Deploy Preview for astounding-pegasus-21c111 canceled.

Name Link
Latest commit 2134a90759cfd0d1be45aed0cbf7b6c4b949a0c8
Latest deploy log https://app.netlify.com/sites/astounding-pegasus-21c111/deploys/65d5ce9f84952a00073abb11
netlify[bot] commented 4 months ago

Deploy Preview for precious-marshmallow-968a81 canceled.

Name Link
Latest commit 2134a90759cfd0d1be45aed0cbf7b6c4b949a0c8
Latest deploy log https://app.netlify.com/sites/precious-marshmallow-968a81/deploys/65d5ce9f47f45d00082a4093
rishabhpoddar commented 4 months ago

I would also like to see how the frontend dashboard displays the message to the user to enable this boolean