Skip to main content

BROWSER_PUBLIC_CLIENT_ID

Constant BROWSER_PUBLIC_CLIENT_ID 

Source
pub const BROWSER_PUBLIC_CLIENT_ID: &str = "hyprstream-browser-vfs";
Expand description

The well-known public client_id the browser VfsShell presents at the RFC 8693 token-exchange endpoint (#1425).

This is a public client identifier (RFC 9700 / OAuth 2.1 none token-endpoint auth method): it names the browser client so the AS can apply the public-client token-exchange contract, but it is not a client secret and not a proof of identity. There is no corresponding secret — the sender binding comes entirely from the RFC 9449 DPoP proof (cnf.jkt), not from this identifier. The same constant is the single source of truth the AS matches against (hyprstream imports it from this crate) so the wire contract cannot drift between client and server.