# Set a password if you signed up with Google or GitHub

> Released November 5, 2026

Before, two-factor authentication and **Change Password** asked for a password you never had. So you could not turn on two-factor authentication, or use the features that need it.

**Who it's for:** Everyone who signs in to xCloud with Google or GitHub.

-   Go to **Settings** → **Authentication** and select **Email me a code**. Enter the 6-digit code with your new password, then select **Set password**.
-   The **Change Password** page shows the same form when your account has no password yet.
-   The two-factor authentication card now shows a **Set a password** button that takes you to the form.
-   The code works for 15 minutes and only once, and it stops working after 5 wrong tries.

[My Account, Profile and Social Sign-In](/docs/my-account/)
