Dan Bar-Shalom

Results 26 comments of Dan Bar-Shalom

I think there could be some handlers which are part of the core. Going over the list I can name: cache, kv-storage, basic-auth, loadbalancer, origin, rate-limit, response, transform, cors The...

Definitely agree about that benefit. 2.0 sounds like a good idea. Do you have other breaking changes that you were holding? 2 more things that I was thinking about: 1....

Only thing about typescript is that you'll have to make sure you have proper build step. Not really a downside, just something to consider so whoever is consuming it will...

My use case is slightly different I think. I'll describe it and let me know if you think it fits into your product: 1. Users are managed in Auth0 (or...

Actually I see that secret-vault is supported, so it should be used for storing the hash-secret: https://developers.cloudflare.com/workers/tooling/wrangler/secrets/

* The Value in the KV store is already encrypted by cloudflare. There's no need to encrypt it again. * The AppKey provided by the client can't be used as...

Just note that I refer to static (not-refreshing) AppKeys that can be statically copied into user's code. It is NOT oauth access or refresh tokens. It is like [GIthub Personal...

I'm not sure I understand how refresh tokens come into play in this use case. Do you mean that these are refresh tokens that are used against the origin API?...

I think it really depends on what you expect to be in the value part of the key. If that's going to be an access token or something alike that...

```javascript module.exports = function appkeys ({ createPath = '/appkeys', kvAccountId, kvNamespace, kvAuthEmail, kvAuthKey, kvKeySeparator = '|', kvPrefix = 'appkeys', appKeyPrefix = 'APPKEY', appKeyHashSecret = 'ReplaceThisStringWithValueSecret', }) { async function handleCreateKey(ctx,...