How can I find whether it is a existing user/new u...
# support-questions-legacy
d
How can I find whether it is a existing user/new user?
r
hey @darkphoenix2704
if the status is
OK
, then the
response
variable should contain a boolean like
createNewUser
`createdNewUser`*
d
Thank you
I also want to fetch user details using access token & store it in my db. Should i write the logic for fetching user details in frontend/backend?
r
backend
just like shown in the code snippet above
d
but I am getting the access token in the frontend right?
r
the google' access token is on the backend
the code snippet above is on the backend init function
d
ooh. Thank you