Skip to content

Safari balks at adding generated API key to clipboard#6

Open
colinhowells wants to merge 2 commits intobtholt:mainfrom
colinhowells:fix/safari-clipboard-user-activation
Open

Safari balks at adding generated API key to clipboard#6
colinhowells wants to merge 2 commits intobtholt:mainfrom
colinhowells:fix/safari-clipboard-user-activation

Conversation

@colinhowells
Copy link
Copy Markdown

@colinhowells colinhowells commented Feb 18, 2026

In Safari, the user's api key is generated, but navigator.clipboard.writeText() throws, so the user gets the 'key could not be generated or copied' notification. The older-browser fallback's never reached.

I think the User Activation API doesn't regard this as a 'proper' user action hence failure, but it can be corrected, and the original fallback kept

weltenseglr pushed a commit to weltenseglr/mcp-issue-tracker that referenced this pull request Feb 26, 2026
Apply upstream fixes (PR #1 react-router-dom import, PR btholt#6 Safari
clipboard), make all hardcoded URLs/paths env-var driven (DATABASE_PATH,
CORS_ORIGINS, BETTER_AUTH_BASE_URL), rewrite MCP server from stdio to
Streamable HTTP transport, and containerize all three services (backend,
frontend, MCP) with multi-stage Dockerfiles.

Includes dev (Vite) and prod (nginx) compose files, systemd Quadlet
units for persistent server deployment, migration system hardening
(multi-statement SQL exec, empty migration skip, idempotent tracking
table), better-auth schema bootstrapping in entrypoint, and GET
/api/schema endpoint for containerized MCP server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant