hi i have a question. The front end is developed w...
# support-questions-legacy
k
hi i have a question. The front end is developed with next.js and the back end with nest.js. When i login with your Google account, When i send a request to http://localhost:3001/api/auth/signinup,
data: { error: 'invalid_grant', error_description: 'Bad Request' }
is returned from GoogleAPi. But the login itself succeeds. What is the cause here?
r
hey @kazumo Are you using a custom UI or our pre built UI? Can i see the network tab in inspect element screenshot?
k
i using custom UI sure, this is screenshot

https://cdn.discordapp.com/attachments/1096257898629300285/1096331373675040828/screen-shot.png

r
right, so you are calling the signinup function from a usEffect right? In dev mode, react fires useEffect two times. So that's why this is happening. It won't happen in prod, so you can ignore it
3 Views