Skip to content

Commit 59e7001

Browse files
larbishnuxtstudio
andcommitted
docs(playground): git providers PAT
Co-authored-by: Nuxt Studio <[email protected]>
1 parent f0c785d commit 59e7001

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

playground/docus/content/9.studio/3.git-providers.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ STUDIO_GITLAB_CLIENT_SECRET=<your_gitlab_secret>
3636

3737
When using **Google OAuth** or **Custom Auth** as your Auth provider, you must provide a Personal Access Token (PAT) with repository write permissions:
3838

39+
::note
40+
The user related to this token will be used as main author of commit while the original editor will be marked as co-author.
41+
::
42+
3943
```bash [.env]
4044
# For GitHub repositories
4145
STUDIO_GITHUB_TOKEN=<your_github_personal_access_token>
@@ -44,8 +48,8 @@ STUDIO_GITHUB_TOKEN=<your_github_personal_access_token>
4448
STUDIO_GITLAB_TOKEN=<your_gitlab_personal_access_token>
4549
```
4650

47-
::warning
48-
The Personal Access Token must have write permissions to the repository. Without it, users authenticated via Google OAuth or Custom Auth won't be able to publish changes.
51+
::tip
52+
Check the section below to have more info about how to create a PAT for GitHub or GitLab provider.
4953
::
5054

5155
## Supported Providers

0 commit comments

Comments
 (0)