- πΊπΈUnited States pianomansam
I too am struggling with getting this module working. Perhaps a small example module could be added to the project?
- πΊπΈUnited States pianomansam
Specifically, it's not clear to me how to do this step:
You will also need to call this module's AnonymousCsrfTokenGenerator service that wraps the CsrfTokenGenerator from core in order to complete the implementation
- Status changed to Fixed
about 1 year ago 12:49pm 13 October 2023 - π§πͺBelgium baikho Antwerp, BE
Someone who is more familiar with the module could adjust the docs to clarify how to use this module add CSRF token protection to form routes which are registered by core or other modules (or whether this is even possible).
For existing routes, you will need to form alter and call the CSRF token service manually for both generating and validating the tokens. Alternatively, please refer to the
8.x-1.x
project page details for the Drupal 7 approach in Drupal 8+.Specifically, it's not clear to me how to do this step
I have updated the developer instructions now on the project page.
Automatically closed - issue fixed for 2 weeks with no activity.