[P0] JWT + Refresh Token + ASP.NET Identity authentication #5

Open
opened 2026-05-26 01:32:38 +00:00 by ChrisChen · 0 comments
Owner

Overview

Stateless JWT authentication with refresh token rotation, built on ASP.NET Core Identity.

Tasks

  • Configure ASP.NET Core Identity with PostgreSQL
  • JWT generation on login (access token: 15 min, refresh token: 7 days)
  • Refresh token rotation endpoint (POST /api/auth/refresh)
  • Logout: revoke refresh token server-side
  • Password reset flow (email link with time-limited token)
  • UserDevice table for push notification token storage

Reference

PLANNING.md Section 6 - Core Architecture, Section 7 Phase 0

## Overview Stateless JWT authentication with refresh token rotation, built on ASP.NET Core Identity. ## Tasks - [ ] Configure ASP.NET Core Identity with PostgreSQL - [ ] JWT generation on login (access token: 15 min, refresh token: 7 days) - [ ] Refresh token rotation endpoint (POST /api/auth/refresh) - [ ] Logout: revoke refresh token server-side - [ ] Password reset flow (email link with time-limited token) - [ ] UserDevice table for push notification token storage ## Reference PLANNING.md Section 6 - Core Architecture, Section 7 Phase 0
ChrisChen added this to the Phase 0 - Tech Foundation and DevOps milestone 2026-05-26 01:32:38 +00:00
ChrisChen added the module: auth label 2026-05-26 01:32:38 +00:00
Sign in to join this conversation.