Advanced Behaviors

This section covers advanced WebAuthn features and customization options for Symfony Bundle implementations.

Overview

The Symfony WebAuthn Bundle provides sensible defaults for most applications. However, you can customize various behaviors to meet specific security requirements or enhance user experience.

Available Topics

Security Features

User Experience

Technical Configuration

Configuration vs Code

The Symfony Bundle allows configuration through:

  1. YAML Configuration - Most settings can be configured in config/packages/webauthn.yaml

  2. Custom Services - Advanced behaviors require creating custom service classes

  3. Event Listeners - Hook into the authentication process with Symfony events

Symfony-Specific Features

The bundle provides several Symfony-specific features not available in pure PHP:

  • Firewall Integration - Seamless integration with Symfony Security

  • Dependency Injection - All services available through the service container

  • Configuration Profiles - Multiple authentication profiles for different use cases

  • Event System - React to WebAuthn events throughout your application

Quick Configuration Example

Here's a common advanced configuration:

See Also

Start with the basic bundle setup in Bundle Installation before diving into advanced behaviors.

Last updated

Was this helpful?