Add authentication
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
|
||||
### Authentication & identity
|
||||
|
||||
- [ ] **AUTH-01**: User can sign in via the self-hosted Authentik instance using OIDC (authorization code flow with PKCE)
|
||||
- [ ] **AUTH-02**: Client stores access + refresh tokens securely (iOS Keychain / Android EncryptedSharedPreferences)
|
||||
- [ ] **AUTH-03**: Ktor server validates incoming access tokens via Authentik's JWKS endpoint (issuer, audience, expiry, signature, clock skew leeway)
|
||||
- [ ] **AUTH-04**: User session persists across app launches without re-authentication (token refresh handled transparently)
|
||||
- [ ] **AUTH-05**: User can sign out, which revokes local tokens and returns to the login screen
|
||||
- [ ] **AUTH-06**: Users are JIT-provisioned in the server database on first successful login (by OIDC `sub` claim)
|
||||
- [x] **AUTH-01**: User can sign in via the self-hosted Authentik instance using OIDC (authorization code flow with PKCE)
|
||||
- [x] **AUTH-02**: Client stores access + refresh tokens securely (iOS Keychain / Android EncryptedSharedPreferences)
|
||||
- [x] **AUTH-03**: Ktor server validates incoming access tokens via Authentik's JWKS endpoint (issuer, audience, expiry, signature, clock skew leeway)
|
||||
- [x] **AUTH-04**: User session persists across app launches without re-authentication (token refresh handled transparently)
|
||||
- [x] **AUTH-05**: User can sign out, which revokes local tokens and returns to the login screen
|
||||
- [x] **AUTH-06**: Users are JIT-provisioned in the server database on first successful login (by OIDC `sub` claim)
|
||||
|
||||
### Household sharing
|
||||
|
||||
@@ -159,11 +159,11 @@ Populated during roadmap creation. Each v1 requirement maps to exactly one phase
|
||||
|
||||
| Requirement | Phase | Status |
|
||||
|-------------|-------|--------|
|
||||
| AUTH-01 | Phase 2: Authentication Foundation | Pending |
|
||||
| AUTH-02 | Phase 2: Authentication Foundation | Pending |
|
||||
| AUTH-01 | Phase 2: Authentication Foundation | Complete |
|
||||
| AUTH-02 | Phase 2: Authentication Foundation | Complete |
|
||||
| AUTH-03 | Phase 2: Authentication Foundation | Pending |
|
||||
| AUTH-04 | Phase 2: Authentication Foundation | Pending |
|
||||
| AUTH-05 | Phase 2: Authentication Foundation | Pending |
|
||||
| AUTH-04 | Phase 2: Authentication Foundation | Complete |
|
||||
| AUTH-05 | Phase 2: Authentication Foundation | Complete |
|
||||
| AUTH-06 | Phase 2: Authentication Foundation | Pending |
|
||||
| HSHD-01 | Phase 3: Households, Membership & Server Data Foundation | Pending |
|
||||
| HSHD-02 | Phase 3: Households, Membership & Server Data Foundation | Pending |
|
||||
|
||||
Reference in New Issue
Block a user