feat(auth): tambah OAuth loopback server untuk capture authorization-code redirect
This commit is contained in:
@@ -127,11 +127,11 @@ apps/
|
||||
### Fase 3f — Auth infrastructure
|
||||
**Sumber Rust:** `apps/infrastructure/src/auth/{password,jwt,oauth_loopback,mod}.rs`
|
||||
|
||||
- [ ] `password.ts` — Argon2 via `@node-rs/argon2` (hash + verify), port `PasswordService`
|
||||
- [ ] `jwt.ts` — HMAC HS256 via `node:crypto` (access + refresh token, typ, exp), port `TokenService`
|
||||
- [ ] `oauth_loopback.ts` — server TCP loopback lokal utk terima redirect OAuth; port `oauth_loopback`
|
||||
- [ ] `mod.ts` — composisi ke `AuthService`
|
||||
- [ ] Tambah dep `@node-rs/argon2` di `infrastructure/package.json`
|
||||
- [x] `password.ts` — Argon2 via `@node-rs/argon2` (hash + verify), port `PasswordService`
|
||||
- [x] `jwt.ts` — HMAC HS256 via `node:crypto` (access + refresh token, typ, exp), port `TokenService`
|
||||
- [x] `oauth_loopback.ts` — server TCP loopback lokal utk terima redirect OAuth; port `oauth_loopback`
|
||||
- [x] `mod.ts` (`index.ts`) — composisi ke `AuthService`
|
||||
- [x] Tambah dep `@node-rs/argon2` di `infrastructure/package.json`
|
||||
|
||||
### Fase 3g — IPC + bgbash
|
||||
**Sumber Rust:** `apps/infrastructure/src/ipc/{frame,protocol,server,client,conn}.rs`, `apps/infrastructure/src/bgbash/{job,control}.rs`
|
||||
|
||||
Reference in New Issue
Block a user