react-oauth icon indicating copy to clipboard operation
react-oauth copied to clipboard

react-oauth/google one + cypress gives vague error

Open toto1384 opened this issue 2 years ago • 0 comments

So, I have one tap login with google and all my test fails: Here is the code and the error (Ps: I've tried deleting cookies):

useGoogleOneTapLogin({
        onSuccess: async (crs) => {
           //login logic removed for readability
        }, disabled: !!getCookie(tokenName),
        onError: () => {
            createSnackbar({ title: 'Error' })
        }
    })
Screenshot 2023-07-06 at 09 38 45

toto1384 avatar Jul 06 '23 06:07 toto1384