Hi All,
I have a Php website and it is hosted on the azure web app. It is also working fine. But when I am using it through the application gateway I am getting a CSRF token error on the login page. Can you help me please?
Thanks
Mohit Sharma
Hi All,
I have a Php website and it is hosted on the azure web app. It is also working fine. But when I am using it through the application gateway I am getting a CSRF token error on the login page. Can you help me please?
Thanks
Mohit Sharma
@MohitKumarSharma-1566, 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.
Hi suvasara-MSFT,
I am not able to understand this things. How can we do that. Can you please help me in it?
Custom domain added to Azure WebApp with no binding.
This is the 3rd party CRM based on the core php
https://osticket.com/
3 people are following this question.
Application Gateway is sending calls to server with high CPU
Web App only accepting Host Header that matches custom domain of Web App
Gateway-required VNet Integration - Regional Vnet Integration
Is it possible to split load using App Gateway?
Azure Application Gateway -- Manage Access to Virtual Directory based on IP address