Our great sponsors
-
Tracy
😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it. (by nette)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Here is the csrf caller https://github.com/nmeri17/suphle/blob/85cc4f37c6f5e023d163fff3c955b2af4ad669f7/src/Security/CSRF/CsrfGenerator.php
are you logging all errors/warnings and notices in php? and if so , are any coming up? maybe it would be worth adding tracy to your project to display issues? (https://tracy.nette.org)
Install this using composer create-project ==> https://github.com/nmeri17/xm-assessment, open a server with the command php suphle server:start AllModules --insane --no_static_refactor --ignore_static_correct. Visit the path localhost:8080/symbols/all-symbols. That is the GET path that should store the CSRF token. This is equally loaded into the form you receive. After filling and submitting the form, the session is blank (except for flash section refreshed per page)