Sign up and sign in
Create an account to get your own personal workspace on the Free plan, then sign in with your email and password, or with GitHub or Google.
Create an account with email and password
Section titled “Create an account with email and password”-
Go to mockhub.io/register, or select Sign in on mockhub.io and then Create one.
-
Enter your address in Email, such as
ada@example.com. -
Enter a Password of at least 8 characters. The meter under the box rates it as you type: length counts for more than symbols. A password found in a known data breach is refused with “This password appears in a known data breach. Choose another one.”
-
Select Create account.
MockHub signs you in, opens your projects and shows Account created: a verification link is on its way to your address. The account works before you open the link; Verify your email lists what waits for it. An account created from a workspace invitation returns to the invitation instead, and accepting it there confirms the address without that email.
If the address already has an account, MockHub does not say so on the page and creates nothing. It emails the address’s owner instead, at most once a day, and your sign-in fails unless the password you entered is that account’s. The page then offers signing in and reset the password. If you have forgotten you had an account, that email is how you find out.
Create an account with GitHub or Google
Section titled “Create an account with GitHub or Google”-
On the sign-up or the sign-in page, select GitHub or Google.
-
Sign in to the provider and allow MockHub to read your email address. The provider sends you back, and MockHub shows Completing sign-in… until you are in.
The first time, MockHub creates an account with the address the provider reports, and your name as the provider has it. For GitHub that is your primary address when it is verified, or else your first verified one. The address counts as verified from the start.
The same button signs you up the first time and signs you in every time after. If an account with that address already exists, the provider is linked to it instead; see Link GitHub or Google.
Sign in
Section titled “Sign in”-
Go to mockhub.io/login, or select Sign in on mockhub.io.
-
Enter your Email and Password.
-
Select Sign in, or select GitHub or Google instead.
To sign out, open the account menu, which shows your name or email address in the page header, and select Sign out. That ends the sign-in on this device only; Sign out a session ends the others.
Sign in with an emailed link
Section titled “Sign in with an emailed link”After too many wrong passwords for one address, from anywhere, MockHub stops checking the password for that address for a while, even the right one. Sign in then shows Check your email with “Too many failed sign-ins for this address. If it has an account, we have emailed it a link to sign in.” Nobody is locked out: the account gets a sign-in link instead.
-
Find the email titled “Your MockHub sign-in link”.
-
Select Sign in to MockHub in it. MockHub shows Signing in… and opens your projects.
-
If the account has two-factor authentication, enter the code on Two-factor authentication as after a password.
A link works once, for 15 minutes, and stops working when the account’s password or email address changes. MockHub emails at most one link every 15 minutes; signing in with your password again after that sends a new one while the password is not being checked. A spent or expired link shows “This sign-in link is invalid or expired.” with Back to sign in.
Only an account whose address is verified gets a link. Otherwise, or whenever you prefer, reset your password: the new password works at once. Signing in with GitHub or Google is not affected.
Result
Section titled “Result”You land on your projects. If a link brought you to the sign-in page, such as an invitation to a workspace, you return to it after signing in or signing up. A sign-in page opened from an invitation names who invited you and to which workspace, and offers Create account first; see Accept an invitation.
A new account has a personal workspace on the Free plan and no card on file. Choose a plan when you need more.
Limits
Section titled “Limits”- A sign-in lasts seven days from the moment you sign in, then you sign in again. Using MockHub does not extend it.
- Signing up answers the same whether or not the address already has an account, so the answer alone does not say who has one. For an address that does, no account is created and its owner gets an email titled
Someone tried to sign up with your MockHub address, at most once a day: further attempts that day send nothing. Sign in instead, or see Reset your password. - Sign-ups are limited for each network and for each address, and MockHub also limits sign-ups overall. Past a limit the page asks you to try again later.
- MockHub accepts a provider’s address only when the provider has verified it. Otherwise the sign-in ends with “We could not complete the sign-in with that provider. Please try again.” Verify the address with GitHub or Google, then try again.
- A sign-in with a provider must come back from the provider within ten minutes, and each attempt works once. Otherwise the page says “That sign-in attempt expired or was already used. Please start again.”
- Signing in with a provider needs a secure connection and a browser that allows site data for mockhub.io. Without them the page asks you to allow site data or to use your email and password.
- After several failed sign-ins for one address from one network, MockHub refuses further attempts for a while, even with the right password, and says how long to wait. After more from every network together, it emails a sign-in link instead.
- A new password is checked against Pwned Passwords, a public list of passwords from known data breaches. Only the first five characters of a fingerprint of the password leave MockHub, never the password. When that list cannot be reached, the password is accepted. A self-hosted installation does not check it unless its operator turns the check on.
- Two-factor authentication is per account and optional unless a workspace requires it, and asks for a code from an authenticator app after your password or provider; see Turn on two-factor authentication. There is no company single sign-on such as SAML or OIDC. GitHub and Google are the only providers.