metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

CSRF Token issue

Open merchant862 opened this issue 2 years ago • 4 comments

Whenever I try to sign in or sign up in my web app using email and password on a metamask browser it says invalid CSRF token, however, my web app works perfectly on other browsers.

HTML code looks like this:

Screenshot from 2022-09-13 18-47-30

What could be the possible issue?

merchant862 avatar Sep 13 '22 13:09 merchant862

@merchant862 Thanks for reporting! Can you tell us which device you are using? Also, it would be great if you could share an online website example so we try to replicate it easily.

tommasini avatar Sep 19 '22 13:09 tommasini

@tommasini on every mobile device in the metamask browser it is getting this issue, on a laptop or PC it's working perfectly, I think this is the issue with the metamask mobile browser, especially with the cookies, as I have signed an NDA with the company so can't reveal the website, thanks for the reply.

merchant862 avatar Sep 20 '22 12:09 merchant862

@merchant862 We have already a solution for cookies on this PR When we release this PR I will comment here, and if you can test your case and see if it solves we would appreciate it

tommasini avatar Sep 20 '22 12:09 tommasini

@tommasini unfortunately that PR didn't work,

merchant862 avatar Sep 20 '22 14:09 merchant862

Same issue here

carlosbalsas avatar Oct 04 '22 10:10 carlosbalsas

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.

github-actions[bot] avatar May 27 '23 01:05 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity. If you feel this was closed in error please reopen and provide evidence on the current production app. Thank you for your contributions.

github-actions[bot] avatar Jun 04 '23 18:06 github-actions[bot]