From af99010a1e82979385107492442285f8f5a4dffe Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Wed, 27 Jul 2022 21:02:12 +1000 Subject: [PATCH] Include token name and required scopes in PAT link --- commands/auth/login/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/auth/login/login.go b/commands/auth/login/login.go index f525853fe..458d10a39 100644 --- a/commands/auth/login/login.go +++ b/commands/auth/login/login.go @@ -334,6 +334,6 @@ func getAccessTokenTip(hostname string) string { glHostname = glinstance.OverridableDefault() } return fmt.Sprintf(` - Tip: you can generate a Personal Access Token here https://%s/-/profile/personal_access_tokens + Tip: you can generate a Personal Access Token here https://%s/-/profile/personal_access_tokens?name=GLab&scopes=api,write_repository The minimum required scopes are 'api' and 'write_repository'.`, glHostname) }