@authup/client-auth-console 1.0.0-beta.62 → 1.0.0-beta.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,18 +4,29 @@ The auth console: authup's SSR auth workflow UI. It renders the hosted pages
4
4
  on the IdP origin — `/authorize` (login + consent), `/register`, `/activate`,
5
5
  `/password-forgot`, `/password-reset` and `/logout`.
6
6
 
7
- This package is not a standalone application. `@authup/server-core` depends on
8
- it, renders each request through the built server bundle
7
+ This package is not a standalone application. `@authup/server-auth-console`
8
+ depends on it, renders each request through the built server bundle
9
9
  (`dist/server/server.js`) with a per-request hydration payload, and serves the
10
10
  client assets (`dist/client/`). The auth pages are architecturally inseparable
11
11
  from the IdP origin (WebAuthn origin binding, first-party session cookies,
12
12
  same-path GET-HTML/POST-JSON routes), so there is nothing meaningful to host
13
- without server-core.
13
+ without the IdP's own API.
14
14
 
15
- The supported boundary between server-core and this package is the render
16
- contract in `src/contract.ts` (`render(RenderContext) => RenderResult`).
15
+ The supported boundary between the auth console service and this package is
16
+ the render contract in `src/contract.ts` (`render(RenderContext) => RenderResult`).
17
17
  Operators who want a custom login/consent UI can substitute this package with
18
- one that fulfills the same contract instead of forking server-core.
18
+ one that fulfills the same contract instead of forking `@authup/server-auth-console`.
19
+
20
+ ## Development
21
+
22
+ This package has no `dev` script of its own: it is SSR and architecturally
23
+ inseparable from the IdP origin, so it cannot be hosted standalone. Run
24
+ `npm run dev` from the repository root instead. That EXPERIMENTAL command
25
+ (`authup dev`) detects that this package is a source checkout and serves it
26
+ through a vite dev server with hot module replacement, mounted in front of
27
+ `@authup/server-auth-console`'s own handler on server-core's listener, so an
28
+ edit here shows up on the next request with no build step. See
29
+ `.agents/architecture.md` → *Development mode* for how it works.
19
30
 
20
31
  ## Documentation
21
32