devtools icon indicating copy to clipboard operation
devtools copied to clipboard

fix: Authentication Token Prompt Repeatedly Appears - 'Access from an untrusted browser, some features are limited.

Open been-there-done-that opened this issue 2 years ago â€ĸ 0 comments

🐛 The bug

I am encountering an issue in a newly created Nuxt 3 project where the authentication token prompt for console access to DevTools keeps reappearing upon page refresh. The initial authentication works, granting access, but subsequent page reloads prompt me to trust the token again.

Replication Steps:

Create a new Nuxt 3 project. Attempt to authenticate the browser for console access to DevTools. Successfully authenticate for the first time. Upon refreshing the page, the authentication token prompt reappears, requiring reauthorization. Environment Details:

package.json

{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "devDependencies": {
    "nuxt": "^3.9.0",
    "vue": "^3.4.5",
    "vue-router": "^4.2.5"
  }
}

Browser: [Version 120.0.6099.129 (Official Build) (x86_64)] Operating System: [MacBook Pro - 13.6.3 (22G436)]

Attaching a stackblitz link not sure we can enable the devtools or not stackblitz

đŸ› ī¸ To reproduce

https://stackblitz.com/edit/nuxt-starter-l3ypjv?file=nuxt.config.ts

🌈 Expected behavior

The authentication should be requested Once per port during development.

â„šī¸ Additional context

some

been-there-done-that avatar Jan 07 '24 19:01 been-there-done-that