diff --git a/symfony-ux/additional-authenticators.md b/symfony-ux/additional-authenticators.md index f715b4c..476b73b 100644 --- a/symfony-ux/additional-authenticators.md +++ b/symfony-ux/additional-authenticators.md @@ -117,7 +117,7 @@ Allow authenticated users to register additional authenticators: method="post" {{ stimulus_controller('@web-auth/webauthn-stimulus', { - creationOptionsUrl: path('webauthn.controller.creation.creation.add_device'), + creationOptionsUrl: path('webauthn.controller.creation.request.add_device'), creationResultField: 'input[name="attestation"]' } ) }} @@ -126,7 +126,7 @@ Allow authenticated users to register additional authenticators: diff --git a/symfony-ux/installation.md b/symfony-ux/installation.md index 6653cdd..575d1f3 100644 --- a/symfony-ux/installation.md +++ b/symfony-ux/installation.md @@ -118,7 +118,7 @@ The first argument is the package-prefixed name — it will resolve to the `--`- action="{{ path('app_register') }}" method="post" {{ stimulus_controller('@web-auth/webauthn-stimulus/registration', { - optionsUrl: path('webauthn.controller.creation.creation.new_user'), + optionsUrl: path('webauthn.controller.creation.request.new_user'), resultUrl: path('app_register'), submitViaForm: true }) }} diff --git a/symfony-ux/user-registration.md b/symfony-ux/user-registration.md index 76e7422..3fa707e 100644 --- a/symfony-ux/user-registration.md +++ b/symfony-ux/user-registration.md @@ -20,7 +20,7 @@ Your registration form needs: method="post" {{ stimulus_controller('@web-auth/webauthn-stimulus', { - creationOptionsUrl: path('webauthn.controller.creation.creation.new_user'), + creationOptionsUrl: path('webauthn.controller.creation.request.new_user'), creationResultField: 'input[name="attestation"]' } ) }} @@ -46,7 +46,7 @@ Your registration form needs: @@ -127,7 +127,7 @@ Existing users can register additional authenticators (backup keys, different de method="post" {{ stimulus_controller('@web-auth/webauthn-stimulus', { - creationOptionsUrl: path('webauthn.controller.creation.creation.add_device'), + creationOptionsUrl: path('webauthn.controller.creation.request.add_device'), creationResultField: 'input[name="attestation"]' } ) }} @@ -136,7 +136,7 @@ Existing users can register additional authenticators (backup keys, different de @@ -182,7 +182,7 @@ Automatically start the registration process when the page loads: {{ stimulus_controller('@web-auth/webauthn-stimulus', { autoRegister: true, - creationOptionsUrl: path('webauthn.controller.creation.creation.new_user'), + creationOptionsUrl: path('webauthn.controller.creation.request.new_user'), creationResultField: 'input[name="attestation"]' } ) }} @@ -209,7 +209,7 @@ The dedicated `registration-controller` provides a focused controller for creden action="{{ path('app_register') }}" method="post" {{ stimulus_controller('@web-auth/webauthn-stimulus/registration', { - optionsUrl: path('webauthn.controller.creation.creation.new_user'), + optionsUrl: path('webauthn.controller.creation.request.new_user'), resultUrl: path('app_register'), submitViaForm: true }) }}