Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Copy to clipboard button in/cli-auth doesn't work when running on non-local (rPi) machine over HTTP #1601

Closed
Assignees
oxy
Labels
siteArea: frontend dashboard
@mafredri

Description

@mafredri

OS Information

  • OS: macOS
  • Browser (if applicable): Safari
  • coder --version: Coder v0.0.0-devel+6c11170 Thu May 19 18:04:44 UTC 20226c11170

Steps to Reproduce

  1. Run server on Raspberry Pi (aarch64):coder server --dev --address 0.0.0.0:7080 --access-url http://0.0.0.0:3000
  2. Openhttp://pi.my.domain:7080/cli-auth
  3. Login
  4. Press Copy-to-clipboard button

Expected

Copy to clipboard works or shows an error suggesting a manual copy.

Actual

Token is not copied to clipboard, and no error indicating that it didn't work.

Browser console shows the following error:

[Error] Error: copyToClipboard: failed to copy text to clipboard — bundle.13f11ac8daaa8228db0b.js:2:537210(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:537315)(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:536870)(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:537615)PromiseonClick (bundle.13f11ac8daaa8228db0b.js:2:537375)$e (bundle.13f11ac8daaa8228db0b.js:2:184959)Ke (bundle.13f11ac8daaa8228db0b.js:2:185113)(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:203291)Tr (bundle.13f11ac8daaa8228db0b.js:2:203380)_r (bundle.13f11ac8daaa8228db0b.js:2:203796)(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:209419)je (bundle.13f11ac8daaa8228db0b.js:2:284650)(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:205252)Ar (bundle.13f11ac8daaa8228db0b.js:2:205280)Qt (bundle.13f11ac8daaa8228db0b.js:2:193358)Yt (bundle.13f11ac8daaa8228db0b.js:2:192584)Yt(anonymous function) (bundle.13f11ac8daaa8228db0b.js:2:308128)Ze (bundle.13f11ac8daaa8228db0b.js:2:284391)qt (bundle.13f11ac8daaa8228db0b.js:2:192377)qt

Screenshot

image

Notes

There is probably some content security issue involved here, but haven't investigated further.

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp