nodejs-docs-samples icon indicating copy to clipboard operation
nodejs-docs-samples copied to clipboard

google-auth-library is not working on client side

Open oleg-mir opened this issue 1 year ago • 0 comments

Hi, in your example here https://cloud.google.com/run/docs/tutorials/secure-services it is shown as FE-BE services, however the "editor" it not a FE but a node service https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/ebc7aca48f8cc493d73566621ca621af4764c006/run/markdown-preview/editor/Dockerfile

google-auth-library can't run in a browser and will not work authenticating the FE service against BE.

this is very bad and wrong tutorial that supposed to show FE-BE (and states that in a diagram) but showing BE-BE

where can i find an example of real FE (e.g react) that tries to access private BE service?

Thanks, Oleg.

oleg-mir avatar Dec 17 '23 22:12 oleg-mir