You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- OAuth2 login with Google, Facebook, and Keycloak
75
77
- Role-based access control
76
78
- CSRF protection
@@ -376,6 +378,39 @@ To enable SSO:
376
378
377
379
Then update your OAuth2 providers' callback URLs to use the ngrok domain.
378
380
381
+
---
382
+
383
+
#### **WebAuthn / Passkeys**
384
+
385
+
The demo app includes full WebAuthn/Passkey support forpasswordless login. Users can register passkeys (biometrics, security keys) from their profile page and use them to login without a password.
386
+
387
+
**Configuration** (in `application.yml`):
388
+
```yaml
389
+
user:
390
+
webauthn:
391
+
enabled: true# Enable passkey support
392
+
rpId: localhost # Must match your domain
393
+
rpName: Spring User Framework Demo # Display name shown during registration
394
+
allowedOrigins: http://localhost:8080 # Must match browser origin exactly
395
+
```
396
+
397
+
**Important**: You must also add the WebAuthn endpoints to your unprotected URIs:
0 commit comments