@getcirrus/pds 0.4.1 → 0.6.0
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 +28 -0
- package/dist/cli.js +1200 -773
- package/dist/index.d.ts +104 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +874 -4
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -158,6 +158,32 @@ pds migrate --clean # Reset and re-import
|
|
|
158
158
|
pds activate # Go live again
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
+
### `pds passkey`
|
|
162
|
+
|
|
163
|
+
Manage passkeys for passwordless authentication.
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
pds passkey add # Register a new passkey
|
|
167
|
+
pds passkey list # List registered passkeys
|
|
168
|
+
pds passkey remove # Remove a passkey
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
All passkey commands support:
|
|
172
|
+
|
|
173
|
+
- `--dev` – Target the local development server instead of production
|
|
174
|
+
|
|
175
|
+
#### `pds passkey add`
|
|
176
|
+
|
|
177
|
+
Registers a new passkey (WebAuthn credential). Displays a QR code in the terminal for easy registration from a mobile device. The registration link expires after 10 minutes.
|
|
178
|
+
|
|
179
|
+
#### `pds passkey list`
|
|
180
|
+
|
|
181
|
+
Lists all registered passkeys with their names, IDs, and last used timestamps.
|
|
182
|
+
|
|
183
|
+
#### `pds passkey remove`
|
|
184
|
+
|
|
185
|
+
Interactively select and remove a passkey from the account.
|
|
186
|
+
|
|
161
187
|
### `pds secret`
|
|
162
188
|
|
|
163
189
|
Manage individual secrets.
|
|
@@ -367,6 +393,8 @@ The PDS includes a complete OAuth 2.1 provider for "Login with Bluesky":
|
|
|
367
393
|
| `POST /oauth/token` | Token exchange |
|
|
368
394
|
| `POST /oauth/revoke` | Token revocation |
|
|
369
395
|
|
|
396
|
+
**Passkey support:** The authorization page supports passwordless login via passkeys (WebAuthn). If the user has registered passkeys, a "Sign in with Passkey" button appears. This works across devices – scan a QR code from your phone to authenticate on a desktop.
|
|
397
|
+
|
|
370
398
|
See the [@getcirrus/oauth-provider](../oauth-provider/) package for implementation details.
|
|
371
399
|
|
|
372
400
|
## Deploying to Production
|