implement authentication with GitHub (Auth.js)

This commit is contained in:
Michi 2025-10-02 22:02:44 +02:00
parent fd042118ad
commit 807e2dc408
5 changed files with 140 additions and 11 deletions

View file

@ -1,5 +1,5 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: aceadb651dd4392a981fdd98096a2639)
// Generated by Wrangler by running `wrangler types` (hash: 95e16e3b0bf3458a0c120838843ae4f4)
// Runtime types generated with workerd@1.20250902.0 2025-09-07
declare namespace Cloudflare {
interface Env {
@ -8,6 +8,10 @@ declare namespace Cloudflare {
CLOUDFLARE_DATABASE_ID: string;
CLOUDFLARE_DATABASE_ID_DEV: string;
CLOUDFLARE_D1_TOKEN: string;
AUTH_SECRET: string;
AUTH_URL: string;
GITHUB_ID: string;
GITHUB_SECRET: string;
d1_db: D1Database;
}
}