fscarmen2 / X-for-Glitch

169 stars 2.14k forks source link

how to auth my argo tunnel? #12

Closed firefoxOnFire closed 1 year ago

firefoxOnFire commented 1 year ago

I am not able to get the token. I have cloudflared argo enabled.

fscarmen2 commented 1 year ago

https://github.com/fscarmen/ArgoX/blob/main/README.md#argo-json-%E7%9A%84%E8%8E%B7%E5%8F%96

https://github.com/fscarmen/ArgoX/blob/main/README.md#argo-token-%E7%9A%84%E8%8E%B7%E5%8F%96

firefoxOnFire commented 1 year ago

Thanks. On glitch, people can see my code. Any way to avoid this?? I dont want to share my credentials. I have only one account.

fscarmen2 commented 1 year ago

What 's the way for other peoples viewing your code?

firefoxOnFire commented 1 year ago

What 's the way for other peoples viewing your code?

by going to person's glitch profile. Anyway i put the token in .env and it worked. Thanks.

fscarmen2 commented 1 year ago

Yes,you can put all the environment to the file .env

firefoxOnFire commented 1 year ago

Yes,you can put all the environment to the file .env

still it is writing those credentials to root directory. Today i realized.

fscarmen2 commented 1 year ago

Both are ok. Ths newest tutorial is set the environment variables in the file .env

firefoxOnFire commented 1 year ago

Both are ok. Ths newest tutorial is set the environment variables in the file .env

oh, I didn't try the newest commit. I will try. Thanks for your effort.