Cluster 18 · WebAuthn & FIDO2 · /.well-known/passkey-endpoints

WebAuthn Passkey .well-known/passkey-endpoints & RP Policy Generator

Generate FIDO Alliance /.well-known/passkey-endpoints JSON and hardened WebAuthn PublicKeyCredential RP policies requiring residentKey and userVerification.

OAuth 2.1 · WebAuthn · Zero Upload · Strict CSP

3. WebAuthn Passkey Endpoints & RP Policy

FIDO2 · Passkeys

Uses your primary domain (acme.example.com) and NIST AAL target from Mode 1 to generate /.well-known/passkey-endpoints and WebAuthn PublicKeyCredentialCreationOptions.

FIDO Discovery (/.well-known/passkey-endpoints)
{
  "enroll": "https://acme.example.com/account/passkeys/enroll",
  "manage": "https://acme.example.com/account/passkeys"
}
Hardened WebAuthn RP Policy (webauthn-policy.json)
{
  "rp": {
    "id": "acme.example.com",
    "name": "acme.example.com Auth"
  },
  "authenticatorSelection": {
    "residentKey": "required",
    "requireResidentKey": true,
    "userVerification": "required"
  },
  "attestation": "none",
  "pubKeyCredParams": [
    {
      "type": "public-key",
      "alg": -7
    },
    {
      "type": "public-key",
      "alg": -257
    },
    {
      "type": "public-key",
      "alg": -8
    }
  ],
  "timeout": 60000,
  "allowedOrigins": [
    "https://acme.example.com",
    "https://app.acme.example.com"
  ]
}
AuthPosture · OAuth 2.1 & Passkeys $39 AuthPosture Fix Pack

Verify Live OAuth 2.1, OIDC, Passkey & Cookie Posture ($39 Fix Pack)

Run an automated live authentication probe on AuthPosture (auth.runglab.dev) or integrate fleet checks via RungLab Hub API (hub.runglab.dev) and Official MCP Server dev.runglab/devtools — or ship the $39 AuthPosture Fix Pack (tailored OIDC & PKCE S256 patches, RFC 9728 MCP metadata, /.well-known/passkey-endpoints, __Host- cookie rules, COOP/CSP login headers, magic-link DMARC/SPF, and SOC 2 CC6.1 / NIST 800-63B CI gate). Prefer PayPal invoicing? Email [email protected].

Authentication Security Specification & Baseline

Control / Header Hardened Baseline Security & Compliance Rationale
Discovery Path /.well-known/passkey-endpoints FIDO Alliance / password-manager discovery JSON advertising enroll & manage URLs
userVerification "required" Ensures biometric or local device PIN check (never 'discouraged' for AAL2/AAL3)
residentKey "required" (Discoverable Credential) Enables passwordless passkey autofill and one-tap sign-in flows
rp.id Effective Top-Level Domain (e.g. acme.example.com) Cryptographically binds passkey assertions to exact origin against phishing

FIDO /.well-known/passkey-endpoints Manifest

passkey-endpoints.json
{
  "enroll": "https://acme.example.com/account/passkeys/enroll",
  "manage": "https://acme.example.com/account/passkeys"
}

Hardened WebAuthn Creation Policy (ES256 / Ed25519)

webauthn-rp-policy.json
{
  "rp": { "id": "acme.example.com", "name": "acme.example.com Auth" },
  "authenticatorSelection": {
    "residentKey": "required",
    "requireResidentKey": true,
    "userVerification": "required"
  },
  "attestation": "none",
  "pubKeyCredParams": [
    { "type": "public-key", "alg": -7 },
    { "type": "public-key", "alg": -257 },
    { "type": "public-key", "alg": -8 }
  ],
  "timeout": 60000
}

Implementation Steps & Key Insights

  1. Open Mode 3 ('WebAuthn Passkeys') above and enter your root domain plus passkey enrollment/management paths.
  2. Deploy /.well-known/passkey-endpoints with HTTPS and CORS headers so browsers and credential managers guide users straight to passkey setup.
  3. Enforce userVerification: 'required' and verify origin + rpIdHash + single-use CSPRNG challenge on the server.
  4. Audit your live domain's passkey & OAuth endpoints at https://auth.runglab.dev.
  • Passkeys eliminate credential stuffing, SIM-swapping, and adversary-in-the-middle (AiTM) reverse-proxy phishing because the WebAuthn origin check cannot be spoofed.
  • Supporting alg: -7 (ES256), -257 (RS256), and -8 (EdDSA) ensures universal compatibility across Apple, Google, Windows Hello, and YubiKey hardware.

Common OAuth, Passkey & Cookie Pitfalls

  • Setting userVerification: 'preferred' or ignoring the UV flag bit in server-side authenticatorData verification.
  • Failing to reject replayed challenges or failing to bind challenges to the user's __Host- browser session.
Verify Live: Audit your live domain at auth.runglab.dev ($39 AuthPosture Fix Pack), automate via hub.runglab.dev, or connect Official MCP Server dev.runglab/devtools.

More OAuth 2.1, Passkey & Session Security Tools

← Back to AuthPosture Hub · AuthPosture ($39 Fix Pack) → · hub.runglab.dev → · dev.runglab/devtools →

Frequently Asked Questions

What is /.well-known/passkey-endpoints used for?

It lets password managers, browsers, and operating systems discover direct deep links where users can upgrade legacy passwords to passkeys (enroll) or rotate keys (manage).

Does WebAuthn require attestation: 'direct' for AAL2 SaaS?

No. Standard B2B SaaS AAL2 deployments use attestation: 'none' for privacy and frictionless enrollment, reserving attestation: 'direct' for AAL3 hardware-key allowlists.

How does AuthPosture score passkey readiness?

CRAReady/AuthPosture inspects /.well-known/passkey-endpoints, OIDC discovery, cookie flags, and login clickjacking shields — test live at https://auth.runglab.dev.