-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI is unable to authenticate when using apiUrl #103
Comments
Hey, sorry for late reaction. And you are using env variable, or login command? I've tested the apiUrl in the config and I haven't found any issues with that. |
I did logged in with command and it requires apiurl arg at that time. Let me try once again later... |
Hmm tried once again with > npx @tolgee/cli login xxxxx
✅ Logged in as *** on undefined. Welcome back!
> npx @tolgee/cli pull
🐭✅ Fetching strings from Tolgee...
🐭✅ Extracting strings...
✅ Done! |
Looking at the authentcation file it is stored in a separated entry than that stored with |
I'll need to check the login functionality, it seems like it's not very intuitive. |
I don't know what the issue is, after logging in with self-hosted instance (using --api-url) it says:
But then when i try to do
I even created |
I think i found the issue, if you provide |
Starting from some recent CLI version, using
npx @tolgee/cli pull
was not sufficient to authenticate to the self-hosted server whenapiUrl
is present in.tolgeerc.yaml
.Instead, I must do
npx @tolgee/cli --api-url https://server pull
The text was updated successfully, but these errors were encountered: