Copying a bearer token from the Authorization header in the devtools network tab gives you a garbled token
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
People
(Reporter: dino.hensen, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
Steps to reproduce:
A webapp using axios sends a Authorization: "Bearer xyz" header.
On copying that token from the DevTools (without the Raw toggle still disabled) into jwt.io. It gives a scrambled token.
This happened on macbook pro M3 firefox 127.0.2
I can not reproduce this with all access tokens, I can not share the access token.
Actual results:
I expected to have the correct access token on my clipboard, instead I got a scrambled one.
I confirmed the backend received the correct access token.
Expected results:
The correct access token should be copy-paste-able.
Comment 1•10 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•10 months ago
|
||
Thanks for filing, a few questions:
- How are you copying the value? Is it from a context menu or something else?
- How different is the copied version? Is it just truncated, or completely different?
- Can you share a test page to reproduce the issue?
Thanks
Comment 3•4 months ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED
, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•