Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Logging into cli without browser does not work #561

Open
ejoebstl opened this issue Oct 3, 2018 · 1 comment
Open

Logging into cli without browser does not work #561

ejoebstl opened this issue Oct 3, 2018 · 1 comment

Comments

@ejoebstl
Copy link

ejoebstl commented Oct 3, 2018

To authenticate with the graphcool cli without a browser, using the following command, does not work:

graphcool login --token $MY_TOKEN

Expected behavior: Should sign me in.

Actual behavior: Still opens the browser for authenticating the CLI. Crashes on remote machine via SSH.

@contesini
Copy link

contesini commented Oct 4, 2018

In your home directory exist a file .graphcoolrc with you authentication info, if you need browserless authentication, you can use this file for authentication without browser login. Just copy .graphcoolrc to the home directory of your remote machine scp ~/.graphcoolrc user@domain:~/.graphcoolrc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants