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

@ -42,4 +42,9 @@ npx wrangler dev --remote --test-scheduled
Run curl request with cron expression
```bash
curl "http://localhost:8787/__scheduled?cron=*+*+*+*+*"
```
```
## Authentication endpoints
- /auth/signin -> Login
- /auth/signout -> Logout
- /auth/callback/github -> Callback for GitHub OAuth config