M1: First-party mobile SSO, secure session and durable sync

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, ios, kotlin, sqlite, swift

Direzione di ricerca

Start by reading the parent issue #1, dependency M0, upstream #3228, and the mobile session extension contract; the issue does not name source files or tests. Establish supported server versions and pinned Gateway fixtures, then map the required native sign-in, session storage, sync, and logout behavior on both platforms. Done means staging auth and the listed security, account-switch, offline, and reconnect cases pass on iOS and Android.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Parent: #1. Owner-approved native Swift/Kotlin, separate mobile repository, progressive feature parity, parallel development; independent mobile release. No ai-handle, automatic implementation, or production rollout.
Depends M0 and upstream #3228 / mobile session extension. Existing-workspace sign-in via trusted system browser/OS auth session, authorization code + PKCE S256, state/nonce, exact registered Universal Links/App Links, validated issuer/audience. Distinct per-platform native client IDs and mobile session audience, no userinfo SSO bearer as Gateway token; keep secrets in Keychain/Keystore-backed encrypted storage. Workspace/cell discovery and switch; auth/revoke/logout, memory-first cache with policy-gated encrypted SQLite. Shared versioned cursors, idempotent pending sends, foreground catch-up, no blind replay uncertain effects. DoD: real staging auth on both devices, wrong issuer/audience/tenant, intercepted/stale callback, rotation/reuse, account switch, revoke, offline and process-death/reconnect tests. No fake self-host parity; explicit unsupported edition. CLI/MCP/API parity as relevant.

Contract acceptance refinement

Use pinned Gateway schema/fixture provenance, explicit supported server versions and typed error handling. Current authority rechecked after cold/warm resume, refresh and workspace change; stale in-flight responses cannot hydrate new account state. Native auth callback exact single-use state binding; refresh rotation race tested. Offline logout clears local state immediately, queues only a bounded safe revocation intent if supported, and reconciles server session/installation registration when online; never promise instant remote revoke offline.

Lingua principale
Nessun dato sulla lingua
Stelle
1
Fork
0
Merge medio
37m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextlevelbuilder/dewee-mobile-app

Tutte le issue di nextlevelbuilder/dewee-mobile-app

Issue simili

Altre issue su Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.