Personal api token doesn't work
Closed this issue · 1 comments
marekkondracki commented
I have multiple projects and I want to use single token for all of them. But personal token doesn't work.
I have an error: "Error: Can’t fetch the project"
If I use Api Client per project, everything works. I have own instance of accent.
simonprev commented
If you use a personal access token in the CLI, you must also add a project
key in your config as the ID of your project (you can see it in the URL, its a UUID). Since the token is not linked to a projet, we need a way to tell which project is the target.
{
"apiUrl": "https://accent.instance",
"apiKey": "a-personal-access-token",
"project": "94dbef49-33f5-47ba-b71d-93fca0719ca3",
"files": ....
}