and do you know if there is a way to use autg0 jwt to authenticate users?
and do you know if there is a way to use autg0 jwt to authenticate users?

compatibility_flags = ['nodejs_compat'] to your wrangler.toml (if you have other flags, append nodejs_compat) to enable it, then you will be able to use it like this:nodejs_compat compatibility flag cannot be used in conjunction with the legacy --node-compat flag. If you want to use the Workers runtime Node.js compatibility features, please remove the --node-compat argument from your CLI command or node_compat = true from your config file.node_compat = true and it works now. thanks.
cache-control: no-transform header?
compatibility_flags = ['nodejs_compat']nodejs_compatnodejs_compat--node-compat--node-compatnode_compat = truenode_compat = truecache-control: no-transformimport { createHmac } from 'node:crypto'
function somewhereInYourCode() {
createHmac('sha256', 'secret')
}