You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/getting-started/managing-your-npm-user-account/managing-your-profile-settings.mdx
+54-4Lines changed: 54 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ From the web, you can change the following user profile settings:
14
14
* Avatar
15
15
* Password
16
16
* Full name
17
-
* GitHub user name
18
-
* Twitter user name
17
+
*Link GitHub Account
18
+
*Link Twitter Account
19
19
* Email address added to package metadata
20
20
* Two-factor authentication status
21
21
@@ -27,6 +27,58 @@ From the web, you can change the following user profile settings:
27
27
28
28
<>{shared['account-settings'].image}</>
29
29
30
+
### Linking you npm and GitHub accounts
31
+
32
+
1. On the account settings page, you will find a button to link your GitHub account. Click that.
33
+
34
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/connect-github.png"alt="Screenshot of linking from Account Setting without any accounts linked" />
35
+
36
+
2. If you are not currently logged in to GitHub you will be prompted to go through the authentication flow.
3. After successfully logging in, or if you already had an active browser sessions, you will be prompted to "authorize npm account link", click the button.
41
+
42
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/github-authorize.png"alt="Landing page to authorize the installation of the npm account linking app" />
43
+
44
+
4. You will be redirected to npm and the link will show as successful in your settings.
45
+
46
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/github-success.png"alt="Screenshot of linking from Account Setting with successfully linked GitHub account" />
47
+
48
+
### Linking you npm and Twitter accounts
49
+
50
+
1. On the account settings page, you will find a button to link your Twitter account. Click that.
51
+
52
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/connect-twitter.png"alt="Screenshot of linking from Account Setting without any accounts linked" />
53
+
54
+
2. If you are not currently logged in to Twitter you will be prompted to go through the authentication flow. Click "Log in"
3. After successfully logging in, or if you already had an active browser sessions, you will be prompted to "Authorize app", click the button.
59
+
60
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/twitter-authorize.png"alt="Landing page to authorize the installation of the npm account linking app" />
61
+
62
+
4. You will be redirected to npm and the link will show as successful in your settings.
63
+
64
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/twitter-success.png"alt="Screenshot of linking from Account Setting with successfully linked Twitter account" />
65
+
66
+
### Disconnecting your GitHub account from npm
67
+
68
+
1. On the account settings page, you will find a button to disconnect your GitHub account. Click that.
69
+
70
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/github-disconnect.png"alt="Screenshot of linking from Account Setting with a cursor hovering over disconnect" />
71
+
72
+
_Note: Clicking disconnect will only disconnect the link from your npm account. You need to `revoke` permissions from your [GitHub app authorization settings](https://github.com/settings/apps/authorizations) to permanently remove the integration from your GitHub account_
73
+
74
+
### Disconnecting your Twitter account from npm
75
+
76
+
1. On the account settings page, you will find a button to disconnect your GitHub account. Click that.
77
+
78
+
<Screenshotsrc="/getting-started/managing-your-npm-user-account/twitter-disconnect.png"alt="Screenshot of linking from Account Setting with a cursor hovering over disconnect" />
79
+
80
+
_Note: Clicking disconnect will only disconnect the link from your npm account. You need to `revoke` permissions from your [Twitter connect apps management page](https://twitter.com/settings/connected_apps) to permanently remove the integration from your Twitter account_
81
+
30
82
## Managing user account profile settings from the command line
31
83
32
84
<Note>
@@ -54,8 +106,6 @@ From the CLI, you can change the following properties for your user account:
54
106
*`fullname`
55
107
*`homepage`
56
108
*`freenode`
57
-
*`twitter`
58
-
*`github`
59
109
*`password`
60
110
61
111
1. On the command line, type the following command, replacing `property` with the name of the property, and `value` with the new value:
0 commit comments