Skip to content

feat: forward onTrusted from DevToolsConfig to the interactive auth handler - #575

Merged
antfu merged 1 commit into
mainfrom
feat/onTrusted-auth-handler
Sep 15, 2026
Merged

antfu merged 1 commit into
mainfrom
feat/onTrusted-auth-handler

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Description

getAuthHandler forwarded config.banner to createInteractiveAuth but not onTrusted, and DevToolsConfig had no onTrusted field. This adds onTrusted?: CreateInteractiveAuthOptions['onTrusted'] to DevToolsConfig and forwards it in getAuthHandler, mirroring how banner is handled — skipped in the implicit build-mode capability-token branch, where the banner is already silenced and trust comes from the capability token rather than a code exchange.

Linked Issues

Closes #574

Additional context

This is the last unticked link in the chain from nuxt/devtools#1080: devframe 0.10.0 already ships onTrusted on createInteractiveAuth (devframes/devframe#291), and this repo is already pinned to that version.


This PR was created with the help of an agent.

@antfu
antfu merged commit bdb29c6 into main Sep 15, 2026
9 checks passed
@antfu
antfu deleted the feat/onTrusted-auth-handler branch September 15, 2026 05:25
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.

Forward onTrusted from DevToolsConfig to the interactive auth handler

2 participants