denoland / deno_kv_oauth

High-level OAuth 2.0 powered by Deno KV.
https://jsr.io/@deno/kv-oauth
MIT License
261 stars 27 forks source link

Do not use `DENO_KV_PATH` environment variable for the kv path. #328

Open ycmjason opened 1 month ago

ycmjason commented 1 month ago

In Deno Deploy, DENO_ prefixed environment are not allowed. (See https://github.com/denoland/std/issues/6127)

This makes it impossible to use kv_oauth from another instance of deno deploy that wishes to point to the same Deno Kv remotely.

iuioiua commented 1 month ago

I wasn't aware of this. I think we can go with the obvious solution of changing the environment variable key. Maybe to something like DKV_PATH or similar.

Sorry for the very delayed reply. I no longer maintain this repo.