See docs in `Context/Environment.ts`
Use utily/cryptly
await (Signer.generate("RSA", "SHA-256", 4096)).export("private", "base64") (Demonstrated here )
Run wrangler kv:namespace create store and update wrangler.toml with information from the result.
Specify the environment variables (expected values documented in ./Context/Environment.ts):
emailemailNameemailServiceresendApiKeyAnd follow this guide:- https://developers.cloudflare.com/workers/tutorials/send-emails-with-resend/
- https://en.wikipedia.org/wiki/DMARC
- https://sv.wikipedia.org/wiki/DomainKeys_Identified_Mail
- https://en.wikipedia.org/wiki/Sender_Policy_Framework
POST /applicationPOST /organizationPATCH /organization?url=[frontend]- url is optional. if present userwidgets should send email in prod and console.log locally
- In this request the users are specified
POST /me