telesto🌛
Can't get @deno/kv-oauth to work
Hello, I am trying to use @deno/kv-oauth to enable login only for myself. I am using Angular in the frontend and Deno Deploy here. I would like to use Github OAuth for this and have already created an OAuth app—that should be fine. However, in my Angular frontend, I always get the following response:
https://secret.deno.dev/protected-route 401 UnauthorizedI haven't been able to get the whole thing to run locally yet, which makes it even more difficult. I would first show my Deno code here and then what I have in Angular. Maybe someone has an idea.
6 replies
Using something like environment variables in fresh🍋
Is there anything I could use to use different (environment) variables in fresh?
It is sort of implied in
deno.json
already:
and dev.ts
is
but that is set to FreshConfig
. I'd like to set additional fields which I can use to set an api key or a base url.
Is there something I could do?1 replies