diff --git a/internal/auth/auth.go b/internal/auth/auth.go index c31e59fd..e0e3ea99 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -63,7 +63,7 @@ func NewDebrickedAuthenticator(client client.IDebClient) Authenticator { TokenURL: client.Host() + "/app/oauth/token", }, RedirectURL: "http://localhost:9096/callback", - Scopes: []string{"select", "profile", "basicRepo"}, + Scopes: []string{"select", "profile", "basicRepo", "fullApi"}, }, AuthWebHelper: NewAuthWebHelper(), } diff --git a/internal/cmd/auth/login/login.go b/internal/cmd/auth/login/login.go index 4699f321..0fd0a14f 100644 --- a/internal/cmd/auth/login/login.go +++ b/internal/cmd/auth/login/login.go @@ -31,7 +31,7 @@ func RunE(a auth.IAuthenticator) func(_ *cobra.Command, args []string) error { return err } fmt.Printf( - "%s Successfully authenticated", + "%s Successfully authenticated\n", color.GreenString("✔"), ) diff --git a/internal/cmd/auth/logout/logout.go b/internal/cmd/auth/logout/logout.go index edc4a2af..eeac7d38 100644 --- a/internal/cmd/auth/logout/logout.go +++ b/internal/cmd/auth/logout/logout.go @@ -31,7 +31,7 @@ func RunE(a auth.IAuthenticator) func(_ *cobra.Command, args []string) error { return err } fmt.Printf( - "%s Successfully removed credentials", + "%s Successfully removed credentials\n", color.GreenString("✔"), )