telesto🌛
telesto🌛
DDeno
Created by telesto🌛 on 5/30/2025 in #help
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 Unauthorized
I 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
DDeno
Created by telesto🌛 on 4/11/2025 in #help
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:
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build"
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build"
and dev.ts is
#!/usr/bin/env -S deno run -A --watch=static/,routes/

import dev from '$fresh/dev.ts';
import config from './fresh.config.ts';

import '$std/dotenv/load.ts';

await dev(import.meta.url, './main.ts', config);
#!/usr/bin/env -S deno run -A --watch=static/,routes/

import dev from '$fresh/dev.ts';
import config from './fresh.config.ts';

import '$std/dotenv/load.ts';

await dev(import.meta.url, './main.ts', config);
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
DDeno
Created by telesto🌛 on 2/15/2025 in #help
databaseBindingMismatch when trying to promote a deployment to production
No description
7 replies
DDeno
Created by telesto🌛 on 2/9/2025 in #help
API server with Postgres on Deno Deploy ConnectionParamsError
No description
2 replies