react-oauth
react-oauth copied to clipboard
react-oauth/google one + cypress gives vague error
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' })
}
})