@Mohit Kumar Sharma , I did test it locally and looks CSRF token has been transferred without any error.
My setup:
- Azure WebAPP with PHP (7.4)
- A sample PHP application with basic CSRF session module.
- Custom domain added to Azure WebApp with no binding.
- Azure Application gateway standard V2.
Generate-token.php
90401-generate-token.log
verifytoken.php
90259-verifytoken.log
Let us know what framework are you using here for implementing CSRF protection.
----------
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.