Relative Content

Tag Archive for reactjsnestjsgoogle-oauth

Is there a need to have client id and all those metas for google auth, if all mygoogle authenticating is on my server

I’ve got a google auth provider and the whole process is managed using NestJS + (Google)Passport, thus it stores client id, client secret etc. So basically I need my (react) client website to have only one dumb google button that calls my API that takes care of the rest. And here is my question: I didn’t see any Google’s tutorial that seemed to cover that case, they always wanted to attach their metas, scripts etc on client and then apply to the button with Client_ID etc there – so to be honest I don’t think my case needs that? Correct me if I’m wrong, if not then is there any CDN/package or something that just gives me the styles (all the crucial stuff) for the button and that’s it?