[Task] auth package (OIDC für Web + Mobile) #8

Closed
opened 2026-04-14 18:29:31 +02:00 by admin-mrrm · 0 comments
Owner

Ziel

packages/auth mit Keycloak OIDC Flow: oidc-client-ts für Web, expo-auth-session für Mobile. Einheitliche useAuth() API, Token-Versorgung an api-client.

Schritte

  • OIDC-Config als Package-Input (issuer, clientId, redirectUri, scope)
  • Web-Flow mit oidc-client-ts (PKCE, silent refresh)
  • Mobile-Flow mit expo-auth-session (PKCE, SecureStore für Tokens)
  • useAuth() Hook: { user, token, login, logout, isAuthenticated }
  • api-client bekommt Token via Provider-Pattern (kein Singleton-Leak)
## Ziel packages/auth mit Keycloak OIDC Flow: `oidc-client-ts` für Web, `expo-auth-session` für Mobile. Einheitliche `useAuth()` API, Token-Versorgung an api-client. ## Schritte - [ ] OIDC-Config als Package-Input (issuer, clientId, redirectUri, scope) - [ ] Web-Flow mit oidc-client-ts (PKCE, silent refresh) - [ ] Mobile-Flow mit expo-auth-session (PKCE, SecureStore für Tokens) - [ ] useAuth() Hook: `{ user, token, login, logout, isAuthenticated }` - [ ] api-client bekommt Token via Provider-Pattern (kein Singleton-Leak)
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
admin-mrrm/mrrmlabapp#8
No description provided.