zignaly-open / zignaly-webapp

Zignaly Crypto Copy Trading Webapp.
zignaly-webapp.vercel.app
MIT License
54 stars 44 forks source link

Login in local environment #1193

Open soloviofff opened 3 years ago

soloviofff commented 3 years ago

I can't login in Zignaly in local environment. I get error message in console :

{code: 76, msg: "ReCaptcha Error"}
toleRB commented 3 years ago

If you login into the production environment, you can get the token that you get from there, and be sure that you send that token from your local environment. Let me know if that works.

soloviofff commented 3 years ago

It didn't work or I'm pasting wrong token or in wrong place.

soloviofff commented 3 years ago

I successfully logged in with GATSBY_API_KEY added to .env.test. But not all potential contributors will have the opportunity to get this key. It should be secret. So I think this issue still needs to be cleared.

soloviofff commented 3 years ago

Systems: macOS 11.5.1 (macbook pro m1) and macOS 10.14.6 iMac npm: 7.18.1 node: v16.4.2

branch develop last commit on the branch - https://github.com/zignaly-open/zignaly-webapp/commit/46b97738993cb8a55b899f47cf20f493fefded0d I did directly what was said in the description.

npm i

STAGE=test npm run develop

And get error message in browser console :

{code: 76, msg: "ReCaptcha Error"}
cwagner22 commented 3 years ago

Yes, as you said you can add it to .env.test. Or set it as an env variable like export GATSBY_API_KEY=xxx in your .bashrc/.zshrc file. We'll update the doc once we have a better setup because it's not ideal for now.

premss79 commented 2 years ago

We are also facing local environment issues where we are not able to login. how can we get the api key.