Skip to content

feat(security): Add TOKEN_SIGNING_SECRET and URL sanitizer#16

Closed
amoscicki wants to merge 1 commit into
12-27-feat_db_add_enums_and_check_constraint_for_affiliatesfrom
12-27-feat_security_add_token_signing_secret_and_url_sanitizer
Closed

feat(security): Add TOKEN_SIGNING_SECRET and URL sanitizer#16
amoscicki wants to merge 1 commit into
12-27-feat_db_add_enums_and_check_constraint_for_affiliatesfrom
12-27-feat_security_add_token_signing_secret_and_url_sanitizer

Conversation

@amoscicki
Copy link
Copy Markdown
Owner

  • Add dedicated TOKEN_SIGNING_SECRET env var for token signing
  • Create url-sanitizer.ts for XSS protection on URLs
  • Update crypto.ts to use new secret instead of STRIPE_WEBHOOK_SECRET

- Add dedicated TOKEN_SIGNING_SECRET env var for token signing
- Create url-sanitizer.ts for XSS protection on URLs
- Update crypto.ts to use new secret instead of STRIPE_WEBHOOK_SECRET
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 this pull request may close these issues.

1 participant