AUTH-002: OAuth2 Integration #138
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#138
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Required
Acceptance Criteria
⏸ Needs Decision
What needs to be decided?
blocked:needs-decisionlabel and the triage will approve it.Blocking factors:
Scope: medium Risk: medium Spec: misaligned Type: feature
Summary: Add OAuth2 login support for Google, GitHub, and Discord providers with user profile mapping and token exchange.
Suggestion: If auth is needed for the API gateway admin layer, implement via Authlib/Flask-Dance on the existing Flask gateway; externalize provider client IDs/secrets to env/config; store user profiles in a new substrate/user.py module. However, this issue is fundamentally outside the project's documented scope.
Rationale: SCOPE=medium: OAuth2 requires a new auth subsystem (provider handlers, user model, token management, profile sync) estimated at 8-15 files. The existing API gateway (Flask) provides a natural integration point but has no auth infrastructure today. RISK=medium: OAuth2 is security-sensitive — callback URL validation, state/CSRF tokens, token storage, and provider-specific quirks — but it's purely additive and doesn't touch the core mesh substrate (ledger, backplane, bidding, worker spawning). SPEC=misaligned: The project is a distributed mesh computing system with agent orchestration and ledger-based economics. AGENTS.md documents infrastructure bidding, worker spawning, capability execution, and intent routing. There is zero mention of user accounts, web logins, profiles, or authentication anywhere in the spec or existing codebase. The API gateway exists solely for mesh network operations (prometheus metrics, WebSocket intents). Adding user-facing OAuth introduces an entirely new domain that doesn't align with any documented project goal. TYPE=feature: additive capability with no bug fix or security patch involved.
To unblock: Remove the
blocked:needs-decisionlabel. The triage will apply the appropriate outcome based on your choice above.AUTH-002 OAuth2 Integration — spec misaligned, closing as wontfix