My cake version is 2.3.1, After clicking on fb login button, it shows me as logged in by fb(I can see my fb name, surname and photo instead of the login button), but the page is not being refreshed, so I can not fetch the logged in user info from the db in my AppController. But it is enough to manually refresh one time and I can already get the data.
So, how to make automatically refresh the page after login ?
My cake version is 2.3.1, After clicking on fb login button, it shows me as logged in by fb(I can see my fb name, surname and photo instead of the login button), but the page is not being refreshed, so I can not fetch the logged in user info from the db in my AppController. But it is enough to manually refresh one time and I can already get the data. So, how to make automatically refresh the page after login ?