Skip to content

feat(integrations): add OpenAI API settings - #34

Merged
darwin67 merged 11 commits into
mainfrom
rfd-5-phase-1b-openai
Sep 5, 2026
Merged

feat(integrations): add OpenAI API settings#34
darwin67 merged 11 commits into
mainfrom
rfd-5-phase-1b-openai

Conversation

@darwin67

@darwin67 darwin67 commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

  • add a shared responsive settings shell and restyle account credential forms
  • add authenticated OpenAI Platform API-key connect, replace, and disconnect flows with fresh sudo checks
  • validate saved keys asynchronously against the fixed metadata endpoint with redirect rejection and generation fencing
  • record credential-free lifecycle audit events and link provider-side key revocation guidance

Security boundaries

  • keys are submitted without phx-change, encrypted before persistence, and never retained in LiveView assigns
  • validation uses a fixed HTTPS origin, disables redirects and retries, and persists only bounded outcomes
  • /integrations remains in the existing authenticated browser pipeline and :require_authenticated_user LiveView session

Verification

  • mix precommit (398 passed, 5 excluded; Credo clean)
  • desktop and 390px mobile browser checks

@github-actions github-actions Bot added the feat label Sep 4, 2026
@darwin67
darwin67 merged commit 298b7de into main Sep 5, 2026
17 checks passed
@darwin67
darwin67 deleted the rfd-5-phase-1b-openai branch September 5, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant