Skip to content

feat: add auth ID management to settings#223

Closed
JianJroh wants to merge 1 commit intovitejs:mainfrom
JianJroh:feat/auth-id-setting
Closed

feat: add auth ID management to settings#223
JianJroh wants to merge 1 commit intovitejs:mainfrom
JianJroh:feat/auth-id-setting

Conversation

@JianJroh
Copy link

@JianJroh JianJroh commented Mar 18, 2026

Description

Allow custom auth ID in settings UI to authenticate with the DevTools server.

屏幕截图 2026-03-18 143035

Why need?

I am attempting to connect to the DevTools WebSocket from a third-party server, which requires a specific authId.
So that I can send servers(BFF, Backend) logs to the DevTools.

@antfu
Copy link
Member

antfu commented Mar 18, 2026

The setting page only appears after the client is authorized. but you put the input here, how would user change the auth id before get authorized? and if it's already authorized, what's the point of changing the auth id?

@antfu
Copy link
Member

antfu commented Mar 18, 2026

I'll work on that

@JianJroh
Copy link
Author

JianJroh commented Mar 18, 2026

The setting page only appears after the client is authorized. but you put the input here, how would user change the auth id before get authorized? and if it's already authorized, what's the point of changing the auth id?

Because I couldn't find a way to let already authorized users log out / revoke their authorization, so I add auth ID UI in the settings instead of unauthorized panel.

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.

2 participants