Error with firebase google authentication

Hello, first of all I apologize for my bad English, but hey, I am a high school student and I have had a problem with Google authentication, the problem is that the authentication works fine when I run it in the browser, but when I go to android loads indefinitely and when loading it the following error occurs:

Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. Some specific scenarios are - 1) Using IDP-Initiated SAML SSO. 2) Using signInWithRedirect in a storage-partitioned browser environment.

Please, I ask you to help, if someone has had something similar happen to you, could you tell me how to solve it or where the error could be found, I have investigated but I have not been able to find the solution, that is why I came here, the last thing I would like is to take up time. tosomeone.

How did you install firebase? are you using a plugin? what is your firebase version? show example code. How do I ask a good question? - Help Center - Stack Overflow

make sure that your Andriod browser has proper access to browser session storage. Some browser do not allow access to session storage.