prismic-cli icon indicating copy to clipboard operation
prismic-cli copied to clipboard

Unable to login

Open umxr opened this issue 3 years ago • 3 comments

im currently trying to initialise a new prismic project and integrating it with my next js app. when running the following command

npx @slicemachine/init --repository tridentlabs && npm run slicemachine i am shown this error Screenshot 2022-09-14 at 11 55 58

a similar thing happens when trying to login

im using this version: Screenshot 2022-09-14 at 11 56 55

umxr avatar Sep 14 '22 10:09 umxr

Did you getting anything figured out with this? I'm currently running into the same thing.

zpthree avatar Mar 11 '23 20:03 zpthree

The issue appears to be related to docker containers. I'm using Gitpod and was running into the issue, so I logged into prismic locally with the cli and then copied that session id over to ~/.prismic on my Gitpod container like suggested here.

This is definitely an issue that needs fixed so hopefully they're working on it.

zpthree avatar Mar 11 '23 20:03 zpthree

Hey there, I'm really sorry your issue didn't get the attention it deserved so far.

I just wanted to let you know I relayed the issue internally and we're considering refactoring our CLI login process to support containerized environment. This involves changing the way our auth API works so it might take some time however.

lihbr avatar Mar 24 '23 14:03 lihbr