Closed
Description
OS Information
- OS: macOS
- Browser (if applicable): Safari
coder --version
: Coder v0.0.0-devel+6c11170 Thu May 19 18:04:44 UTC 2022 6c11170
Steps to Reproduce
- Run server on Raspberry Pi (
aarch64
):coder server --dev --address 0.0.0.0:7080 --access-url http://0.0.0.0:3000
- Open
http://pi.my.domain:7080/cli-auth
- Login
- 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)
Promise
onClick (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
Notes
There is probably some content security issue involved here, but haven't investigated further.