MomenSherif / react-oauth

Google OAuth2 using the new Google Identity Services SDK for React 🚀
https://www.npmjs.com/package/@react-oauth/google
MIT License
1.13k stars 141 forks source link

Environment vartiables in client ID error #314

Closed Leoplazavzla closed 1 year ago

Leoplazavzla commented 1 year ago

Hello,

I'm trying to use environment variables in the component and I'm receiving the following error:

[GSI_LOGGER]: Parameter client_id is not set correctly.

Note: I'm reading the environment variable when the component is being mounted.

Any help will be appreciated.

Kind regards