Authentication Issue with shopify CLi

Hi Team,

I am new to shopify and shopify CLI. I am using CLi version 3.49.7. I have installed it on my ubuntu server with no GUI. I am working on my client’s app which is build in laravel and react. I run the command

shopify app deploy

and then it asks me to authenticate with the partner account and asks me to open the login page by clicking on it. I assume that developer has implemented Oauth as in the link I can see that.

I am looking for the way to authenticate with the partner account without having to open the link in the browser and instead by just passing some API keys or token which will authenticate with my partner account from the CLI itself and my command will successfully deploy. I cannot find anything useful in the documentation since I am not running any CI/CD pipeline.

What kind of parameters are required and information has to be passed to authenticate without having the need of browser. I’ll really appreciate any kind of help.

Regards

Hi Faadi07,

You will need to use the browser method to log into your partner account to authenticate the instance of the cli and your partner account - I don’t believe there’s an option to pass an API key or token via the CLI.