-
Notifications
You must be signed in to change notification settings - Fork 423
login button is disabled in Production #563
Comments
Facing the same issue. Any solutions? |
I am also facing the same issue guys. Did you get any alternate solution? Please help me out |
Facing the same issue on production, working fine for windows but MacBook. |
https://www.npmjs.com/package/@react-oauth/google?activeTab=readme guys try this library working fine. I just fixed my issue with this library. |
import { useGoogleLogin } from '@react-oauth/google'; ` <Button size='small' startIcon={<Box component='img' src={GoogleLogo} sx={{width:40, height:40}}/>} variant='contained' sx={{backgroundColor:'black', color:'white' , ':hover':{backgroundColor:'black'}}} onClick = {()=>{login()}}> |
in google console under Authorized JavaScript origins I added https://localhost/, And it worked for DEV
But not working in Production
The text was updated successfully, but these errors were encountered: