Phase 2: Authentication scaffolding
- Add JWT Bearer auth to ASP.NET (authority/audience from AUTH__AUTHORITY / AUTH__AUDIENCE config) - Add KnownUserMiddleware: upserts KnownUser and resolves pending shares on each authenticated request - Add MeController as a guarded test endpoint (/api/me) - Add oidc-client-ts + react-router-dom to client - Create AuthContext/AuthProvider with login, logout, token storage - Create AuthGuard component protecting all budget routes - Add stub /callback page for OIDC redirect handling - Wire up all routes in App.tsx with SPA routing structure Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export function SummaryPage() {
|
||||
return <div>Summary — coming soon</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user