cloudflare / cloudflare/agents-starter

Full stack Middleware/Auth Guidance

Open
#95 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
283
PR merge metrics
No merged PRs in 30d

Description

I would like to add OAuth to the entire application. Ideally at the edge layer before the frontend client is even served.

Something like this:

Browser => Edge Auth => React app.
Something equivalent to [this AWS example](https://github.com/aws-samples/cloudfront-authorization-at-edge)

The server in this example could then read a secure cookie.

The goal is to have separate, per user stateful sessions and no guest/anonymous access

Any suggestions would be greatly appreciated

Contributor guide

Open the contributing guide

Research direction

No repository files or tests are named. Start by reviewing how the application serves the React client and handles server requests, then compare that flow with the linked AWS edge-authorization example. Done would require an agreed design for edge authentication, secure cookies, per-user sessions, and no guest access.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, react, typescript
Domain
authentication, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.