API Demo: login and re-authentication via JS.
--
- +Main Application
+Examples & Demos
+ +Dev Server: Vite on port 4403
+Backend: localhost:4402
+diff --git a/API.md b/API.md index e6511ad..cce7e90 100644 --- a/API.md +++ b/API.md @@ -48,7 +48,7 @@ Always under `/auth/api/` (even on auth host): | Method | Path | Description | |--------|------|-------------| -| GET | `/auth/api/restricted` | Authentication UI for iframe embedding (supports `?mode=login` or `?mode=reauth`) | +| GET | `/auth/restricted` | Authentication UI for iframe embedding (supports `?mode=login` or `?mode=reauth`) | |--------|------|-------------| | POST | `/auth/api/validate` | Validate & (conditionally) renew session | | GET | `/auth/api/forward` | Auth proxy endpoint for reverse proxies (204 or 4xx) | diff --git a/examples/index.html b/examples/index.html index e13490f..eddd32a 100644 --- a/examples/index.html +++ b/examples/index.html @@ -3,22 +3,123 @@
-Interactive demos and code examples for PassKey authentication
-Dev server running this example application.
--
- +Dev Server: Vite on port 4403
+Backend: localhost:4402
+