From 4aeb4ebcda689eddfbaa92608a8fe110236fafd4 Mon Sep 17 00:00:00 2001 From: Louie Weng <56288712+lourw@users.noreply.github.com> Date: Tue, 20 Aug 2024 23:38:28 +0200 Subject: [PATCH] chore(repo): use nx cloud id for auth (#27546) ## Current Behavior Nx Cloud uses the nxCloudAccessToken to authenticate and provide permissions access the cache. ## Expected Behavior Users who want to use Nx Cloud locally with a read-write token will need to run `nx-cloud login` to generate a personal access token and have `nxCloudId` in their nx.json. These two pieces of identification are needed together to provide permissions to access nx cloud features. By default users who do not have a personal access token/do not have an Nx Cloud account will have 'read' permissions. ## Related Issue(s) Fixes # (cherry picked from commit 20650334e79b785f7ab9a7ab566b962ca8355dd5) --- nx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx.json b/nx.json index e8fda9f4ac0cc..ba9dcfcaec1c4 100644 --- a/nx.json +++ b/nx.json @@ -229,7 +229,7 @@ } } ], - "nxCloudAccessToken": "YmZiOWQyNzctOThiZC00MjYwLWI3YTAtZDA3MDg4YWY1YTExfHJlYWQ=", + "nxCloudId": "62d013ea0852fe0a2df74438", "nxCloudUrl": "https://staging.nx.app", "parallel": 1, "cacheDirectory": "/tmp/nx-cache",