Skip to main content

Overview

Let’s break down how each of these work.

Email address and password

This is the only authentication mechanism where PlanetScale maintains user credentials. Additionally, users can opt to configure two-factor authentication (2FA). This option requires something you know (i.e. your password) and something you have (i.e. recovery codes).

Single sign-on

Users can authenticate with their chosen corporate identity provider (i.e. Okta) instead of maintaining passwords with PlanetScale. Once SSO is enabled for an organization, all members are redirected through that identity provider’s authentication flow. Moving forward, they must pass through SSO to access their PlanetScale account.

OAuth via GitHub

Users can authenticate with PlanetScale using their GitHub account.
PlanetScale doesn’t maintain the passwords for these accounts. Losing access to your GitHub account prevents accessing your PlanetScale account.
Enabling SSO removes OAuth access for all members of your organization, meaning they will no longer be able to sign in with their GitHub credentials.

Switch to email and password

You can stop signing in with GitHub and sign in with your email address and a password instead.
2
In the Sign in with GitHub section, click “Disconnect GitHub”.
3
Click “Confirm on GitHub” and approve the sign-in on GitHub.
4
Enter and confirm a new password, then click “Disconnect GitHub”.
Signing in with GitHub stops working for your account, and you are signed out of PlanetScale in your other browsers. Your account then works like any other email and password account, including multi-factor authentication.
Accounts that belong to an organization using SSO can’t disconnect GitHub.

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.