This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 425
Missing required parameter #537
Comments
are you using vite or create react app? |
@Malankar create react app |
Debuging: Check if the name matches the name in env file console.log(process.env.REACT_APP_GOOGLE_CLIENT_ID) Alternative: <GoogleLogin
clientId="Your ID"
buttonText="Log in with Google"
onSuccess={handleLogin}
onFailure={handleLogin}
cookiePolicy={'single_host_origin'}
/> |
@Malankar I tried it, but it gives me the same error! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I dont why i'm getting this error!
This the code:
<GoogleLogin
clientId={process.env.REACT_APP_GOOGLE_CLIENT_ID}
buttonText="Log in with Google"
onSuccess={handleLogin}
onFailure={handleLogin}
cookiePolicy={'single_host_origin'}
/>
Please note that the button is disabled also !
The text was updated successfully, but these errors were encountered: