Комментарии •

  • @er.deepakyadavmelodiousson1440
    @er.deepakyadavmelodiousson1440 4 месяца назад

    Thank you so much sir

  • @muhammadsajidrazaansari8074
    @muhammadsajidrazaansari8074 2 месяца назад

    Super❤

  • @DeepakKumar-dw1re
    @DeepakKumar-dw1re Год назад

    Hello sir first of all thank you for this great project😊😊
    I want to master MERN
    Could you please suggest me how to do that?
    Have you learnt from documentation,udemy videos,youtube, internship, experiance or anything else on starting...?

  • @raba650
    @raba650 2 года назад +1

    What do we do with the g_state cookie google gives in sign in/out?

    • @CodeLikePro22
      @CodeLikePro22 2 года назад +2

      This is just if google blocks one tap login prompt when the user clicks on x button to close it. Because google considers that the prompt is annoying the user, so user removed it. You can reset the state by deleting this cookie or change its value to 0, so it will work again

  • @nostalgyc
    @nostalgyc Год назад

    Thanks for creating such an excellent tutorial videos. Very detailed, without bugs and easy to follow. Great job!
    One question:
    You are not saving the user, who has signed with Google One Tap login, in the mongodb database . Any particular reason for leaving that out? Any suggestion on how to be able to do that as I need to save all users in the database for my application.

    • @CodeLikePro22
      @CodeLikePro22 Год назад +1

      You can save it in your database if you want to use user's email for newsletters from example. But you have to flag it in your table (add new field to recognise that this is google user)

    • @nostalgyc
      @nostalgyc Год назад

      @@CodeLikePro22 Okay. Thanks for the clarification.

  • @ThanHtutZaw3
    @ThanHtutZaw3 2 года назад

    bro I was making React Todo app with firebase firestore only frontend. When I refresh or application startup these data need to wait to display for 1.3second , It is bad UX. How can I fix it. Do I need backend?

    • @ThanHtutZaw3
      @ThanHtutZaw3 2 года назад

      the whole UI is ready but user's data didn't , User have to wait to see his data for 1.3s

    • @CodeLikePro22
      @CodeLikePro22 2 года назад

      @@ThanHtutZaw3 Can I see your code? Is it available on github or some place that I can see it?

    • @ThanHtutZaw3
      @ThanHtutZaw3 2 года назад

      @@CodeLikePro22 bro you get my link ?

    • @CodeLikePro22
      @CodeLikePro22 2 года назад +1

      @@ThanHtutZaw3 no sorry. Where did you put it?

  • @raba650
    @raba650 2 года назад

    Would like to find one video like this but without using redux. Also, where's the source code bro? Thanks.

    • @CodeLikePro22
      @CodeLikePro22 2 года назад +1

      Hey Raba,
      We didn't use Redux here, we just used React Context and it is very easy. You can watch the whole playlist on here to understand how we started the context:
      ruclips.net/video/ANZNMaBODDY/видео.html
      and you can find the source code here:
      github.com/codelikepro22/place-to-stay/tree/part3

  • @rajilaziz8380
    @rajilaziz8380 Год назад

    thank you sir your tutorial are awesome but i have one problem after sign in with google button i didn't get object at console plz help me to solve out this problem.

  • @abdulghafarmohammadi9898
    @abdulghafarmohammadi9898 2 года назад

    when is the next video coming?

    • @CodeLikePro22
      @CodeLikePro22 2 года назад

      I am so sorry to be late. Sometimes I am so busy with work, but I am gonna try to add it today or tomorrow

  • @lalagisaa
    @lalagisaa Год назад

    can you add for firebase console ?

    • @CodeLikePro22
      @CodeLikePro22 Год назад

      Hey Christian,
      I really don't understand what you mean but we have a project on this channel for only authentication with firebase on this playlist link:
      ruclips.net/video/74rGC1e77tw/видео.html

  • @ThanHtutZaw3
    @ThanHtutZaw3 Год назад

    I have no sign in btn . Only prompt and how can I sign out

    • @CodeLikePro22
      @CodeLikePro22 Год назад +1

      You need to add sign out anyway, so the user can click on it to sign him out

    • @ThanHtutZaw3
      @ThanHtutZaw3 Год назад

      @@CodeLikePro22 I already removed local storage for sign out but cannot login again because g State(cookie) still there .

    • @CodeLikePro22
      @CodeLikePro22 Год назад +1

      @@ThanHtutZaw3 try to use their way of signing out:
      developers.google.com/identity/gsi/web/guides/automatic-sign-in-sign-out

  • @lalagisaa
    @lalagisaa Год назад +1

    Can we skip the one tap google authentication? Coz it needs CC , i don't have any

    • @CodeLikePro22
      @CodeLikePro22 Год назад

      of course you can. Just remove the button for google login and you will be good to go. The whole code of the project is on this repo on github:
      github.com/codelikepro22/place-to-stay

    • @lalagisaa
      @lalagisaa Год назад

      Much appreciated it mate 👍

    • @lalagisaa
      @lalagisaa Год назад

      @@CodeLikePro22 bro i've tried to stick to the videos by ignoring this GOOGLE_CLIENT_ID, how am i supposed to be authorized without these ?

    • @CodeLikePro22
      @CodeLikePro22 Год назад +1

      @@lalagisaa Use only your custom token (authentication by email and password) it is in the next video:
      ruclips.net/video/gE0I8Pe0JQ4/видео.html

    • @lalagisaa
      @lalagisaa Год назад

      Ah got it, i'll catch up then

  • @yashgavade3819
    @yashgavade3819 Год назад

    Unexpected token '

  • @arcosd63
    @arcosd63 Год назад

    I can't find my thread anymore?

    • @CodeLikePro22
      @CodeLikePro22 Год назад

      you commented on another video if that what you meant. I think this video:
      ruclips.net/video/gE0I8Pe0JQ4/видео.html&lc=Ugx9x5ALt2AiACbAFnt4AaABAg

  • @xidigaayuubdinix768
    @xidigaayuubdinix768 3 месяца назад

    Bro can u please reply to me

  • @crees6447
    @crees6447 Год назад

    this is so powerful!! you are the smartest ever. THANK YOU SO MUCH SIR! hope you can continue and create a video where this is uploaded via HEROKU maybe?

    • @CodeLikePro22
      @CodeLikePro22 Год назад

      Thanks a lot. And we deployed it to Heroku and Netlify on this video:
      ruclips.net/video/2nfaSvzhU2w/видео.html
      and the whole project is on this playlist:
      ruclips.net/video/ANZNMaBODDY/видео.html

  • @timobrien4190
    @timobrien4190 Год назад

    Im at about 37 minutes in and I am trying to verify the auth works from the server, and I keep getting this error coming from the client.verifyIdToken()
    Error: Token used too late, 1658336008.89 > 1658328626:
    I'm assuming its a timing issue, or an expired token / something weird with the date going on.
    Gonna take a break and try to fix it another time, but in the meantime if anyone knows anything or had a similar issue let me know!
    Thanks!

    • @CodeLikePro22
      @CodeLikePro22 Год назад

      console log your token in client side and in server side and compare them if they are the same. You may send an old one because maybe you don't update it in client side before you send the new one to the server

    • @timobrien4190
      @timobrien4190 Год назад

      @@CodeLikePro22 1658336008.89 > 1658328626 these are the two values, not sure how to update it on the client side before you send one to the server. The login works fine and I have a current user with a token, but when you decode the token and find the expiration time it is just at a different time than the one the server compares it to, just going to continue for now.

    • @timobrien4190
      @timobrien4190 Год назад

      The Time Zones must be off because I had a lot of hope for the useCheckToken but now it logs me out as soon as i logged in it seems as though my token is just perma expired for now

    • @CodeLikePro22
      @CodeLikePro22 Год назад

      @@timobrien4190 The values you mentioned are the expiry dates not the tokens. Do you have your code on github so I can have a look

    • @timobrien4190
      @timobrien4190 Год назад

      The file on github is Server instead of server but that is not the case when im running it locally