|
1
|
import { InlineIcon } from "docs-ui" |
|
2
|
import { EllipsisHorizontal } from "@medusajs/icons" |
|
3
|
|
|
4
|
export const metadata = { |
|
5
|
title: `Manage User Account on Cloud`, |
|
6
|
} |
|
7
|
|
|
8
|
# {metadata.title} |
|
9
|
|
|
10
|
In this guide, you'll learn how to manage your user account on Cloud. |
|
11
|
|
|
12
|
## Manage Profile Details |
|
13
|
|
|
14
|
You can edit your profile details such as your name and email address from the Profile settings in the Organization Settings. |
|
15
|
|
|
16
|
To edit your profile's details: |
|
17
|
|
|
18
|
1. Click on your name and avatar at the top right of the Cloud dashboard. |
|
19
|
2. Choose "Account settings" from the dropdown. |
|
20
|
3. This will open the Profile page. You can edit your first and last name and email address. |
|
21
|
4. Once you're done making changes, click the "Update profile" button. |
|
22
|
|
|
23
|
--- |
|
24
|
|
|
25
|
## Manage Sign-In Methods |
|
26
|
|
|
27
|
Cloud supports sign-in via email and password, and via GitHub. |
|
28
|
|
|
29
|
An email and GitHub accounts can be connected to a single Cloud user account. So, if you have multiple accounts, you can change the sign-in method for any of them to use either email/password or GitHub. |
|
30
|
|
|
31
|
To manage your sign-in methods: |
|
32
|
|
|
33
|
1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). |
|
34
|
2. Click **Account** > **Authentication** in the sidebar to open the account's authentication settings. |
|
35
|
|
|
36
|
Under the "Sign-in methods" section, you can connect or disconnect your email and GitHub accounts: |
|
37
|
|
|
38
|
1. If you choose to connect an email account, you'll need to set a password for your Cloud account. |
|
39
|
2. If you choose to connect a GitHub account, you'll be redirected to GitHub to authorize the connection. |
|
40
|
|
|
41
|
If you disconnect any sign-in method, you won't be able to use that method to sign in to your Cloud account anymore. |
|
42
|
|
|
43
|
--- |
|
44
|
|
|
45
|
## Configure Two-Factor Authentication |
|
46
|
|
|
47
|
Cloud supports Two-Factor Authentication (2FA) to enhance the security of your account. 2FA requires a second authentication factor when signing in to your Cloud dashboard. |
|
48
|
|
|
49
|
To configure 2FA for your account: |
|
50
|
|
|
51
|
1. Make sure you're viewing the [correct organization's dashboard in Cloud](../organizations/page.mdx#switch-organization). |
|
52
|
2. Click **Account** > **Authentication** in the sidebar to open the account's authentication settings. |
|
53
|
3. In the **Two-Factor Authentication** section, you'll see the current status of 2FA for your account. |
|
54
|
|
|
55
|
Medusa supports setting up 2FA using authenticator apps like Google Authenticator or 1Password. |
|
56
|
|
|
57
|
### Set Up 2FA with Authenticator App |
|
58
|
|
|
59
|
If 2FA is not enabled for your account: |
|
60
|
|
|
61
|
1. Click the **Set up** button in the Two-Factor Authentication section next to the "Authenticator app" card. |
|
62
|
2. In the setup modal: |
|
63
|
- Scan the QR code with your authenticator app (such as Google Authenticator, Authy, or 1Password). |
|
64
|
- Alternatively, manually enter the provided setup key in your authenticator app. |
|
65
|
- Enter the 6-digit verification code from your authenticator app to verify the setup. |
|
66
|
- Click **Set up** to enable 2FA. |
|
67
|
3. Save your recovery codes: |
|
68
|
- You'll see 8 recovery codes that can be used to access your account if you lose your authenticator device. |
|
69
|
- Click **Copy All** to copy all codes, or **Download** to save them as a file. |
|
70
|
- Store these codes in a secure location. |
|
71
|
4. Click **Done** to complete the setup. |
|
72
|
|
|
73
|
Once 2FA is enabled, you'll be prompted to enter a 6-digit code from your authenticator app each time you sign in. |
|
74
|
|
|
75
|
### Disable 2FA |
|
76
|
|
|
77
|
If 2FA is already enabled and you want to disable it: |
|
78
|
|
|
79
|
1. Click the <InlineIcon alt="three-dots" Icon={EllipsisHorizontal} /> icon in the "Authenticator app" card. |
|
80
|
2. Select **Disable** from the dropdown. |
|
81
|
3. In the confirmation pop-up, click the **Disable** button. |
|
82
|
4. Enter a 6-digit verification code from your authenticator app to confirm the action. |
|
83
|
5. Click **Disable** to remove 2FA from your account. |
|
84
|
|
|
85
|
### Login with Recovery Codes |
|
86
|
|
|
87
|
If you enabled 2FA with an authenticator app but lose access to it, you can use one of the recovery codes to sign in to your account: |
|
88
|
|
|
89
|
1. After you sign in, click the "Use recovery code" link in the 2FA verification step. |
|
90
|
2. Enter one of your recovery codes and click the **Verify Code** button to sign in. |
|
91
|
|
|
92
|
You can only use a recovery code once. After using a recovery code, make sure to disable then re-enable 2FA to generate new recovery codes and keep them in a secure place. |