Sometimes I'm receiving this message below during the customer login after being changed the **cookie domain** through the admin panel.

**Do you know why and when this message shows up?**

> 
> Invalid Form Key. Please refresh the page
> 
> 
> 

[![Magento2 Invalid Form Key. Please refresh the page](https://i.stack.imgur.com/XqAfv.png)](https://i.stack.imgur.com/XqAfv.png)