Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions symfony-ux/additional-authenticators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
}
) }}
Expand All @@ -126,7 +126,7 @@ Allow authenticated users to register additional authenticators:

<button
type="submit"
{{ stimulus_action('@web-auth/webauthn-stimulus', 'register') }}
{{ stimulus_action('@web-auth/webauthn-stimulus', 'signup') }}
>
Register New Authenticator
</button>
Expand Down
2 changes: 1 addition & 1 deletion symfony-ux/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,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
}) }}
Expand Down
12 changes: 6 additions & 6 deletions symfony-ux/user-registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
}
) }}
Expand All @@ -46,7 +46,7 @@ Your registration form needs:

<button
type="submit"
{{ stimulus_action('@web-auth/webauthn-stimulus', 'register') }}
{{ stimulus_action('@web-auth/webauthn-stimulus', 'signup') }}
>
Register with Passkey
</button>
Expand Down Expand Up @@ -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"]'
}
) }}
Expand All @@ -136,7 +136,7 @@ Existing users can register additional authenticators (backup keys, different de

<button
type="submit"
{{ stimulus_action('@web-auth/webauthn-stimulus', 'register') }}
{{ stimulus_action('@web-auth/webauthn-stimulus', 'signup') }}
>
Add New Authenticator
</button>
Expand Down Expand Up @@ -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"]'
}
) }}
Expand All @@ -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
}) }}
Expand Down