Skip to content

Documentation navigation

Portal Authentication

Configure sign-in and resolve common login issues in the developer portal.

#Portal Authentication

Signing in to the mAIvn Developer Portal is how you reach your projects and account settings in the web app. This guide walks through what the sign-in flow does, how to reset a forgotten password, and how to clear up the login problems people hit most often.

See also: Authentication & API Keys — authenticating the SDK with an API key (distinct from signing in to the portal web app covered here).

#Sign-In Flow

  1. Enter your email and password on the portal login page. If your environment enables Google or GitHub sign-in, those buttons appear under the form.
  2. If your account uses two-step sign-in, the portal asks for the 6-digit code we email you. No session exists until the code is accepted.
  3. On success, the platform creates a secure server-managed session and redirects you to your dashboard, or back to the page you were trying to open.
  4. Protected pages require an active signed-in session and automatic request security checks.

Remember me on this device is ticked by default. Without it the session lasts 24 hours. With it, the session stays alive while you use it: it expires after 30 days without activity and never lasts longer than 90 days in total. Untick the box on a shared machine.

New accounts are created by invitation while mAIvn is rolling out in waves. If sign-up is closed, the sign-up page sends you to the waitlist. Passwords need at least 8 characters, and sign-up asks you to accept the listed legal policies.

#United States Only at Launch

At launch, mAIvn accounts are for businesses located in the United States.

  • Sign-up asks you to confirm that your business is located in the United States.
  • Visitors outside the United States. A visitor whose location is known to be outside the United States is shown the waitlist instead of the sign-up form. The waitlist form asks for your country.
  • Google or GitHub sign-in. A new account made by signing in with Google or GitHub is asked for the same confirmation before it can create a team.
  • Existing accounts are asked for the confirmation once, at their next sign-in.
  • Invited people are not location-checked: an invitation to a team works wherever you are.

A saved payment method also needs a United States billing address; see Billing and Usage.

#Two-Step Sign-In

Two-step sign-in adds an emailed code after your password. It is optional: turn it on in Settings → Security. We suggest it after you create your first API key or add a card.

  • The code. Six digits, sent to your account email. It works once and expires after 10 minutes. Asking for a new code makes the previous one stop working. After five wrong tries the code stops working and you sign in again to get a new one.
  • Remember this device for 30 days. Tick it on the code screen to skip the code on that browser for 30 days. Settings → Security lists your remembered devices; you can forget one or all of them. Changing or resetting your password, turning two-step sign-in off or on, and Sign out other sessions also forget remembered devices (the last one keeps the browser you used).
  • Recovery codes. When you turn two-step sign-in on, you get ten recovery codes, shown once. Each one signs you in once instead of the emailed code. You can replace them in Settings → Security; the old set stops working.
  • Where codes go. Codes go to the address a code proved when you turned two-step sign-in on. If your account email changes, codes keep going to the old address until you move them: in Settings → Security, select Use my new address, enter the code we send to your old address (or one of your recovery codes, if you can no longer reach that inbox), then enter the code we send to the new address. We tell your old address when this happens.
  • If we cannot send a code (for example our email provider is down), the code screen says so and asks for a recovery code instead.
  • Turning it off needs a fresh emailed code.
  • Teams that require it. A team owner can require two-step sign-in for everyone on the team, in the team's settings. If you belong to such a team and yours is off, the portal sends you to Settings → Security to turn it on, and your teams, projects and other resources stay closed until you do. This applies to all your teams, not only the one that requires it, because the check is on your signed-in session. The owner must have two-step sign-in on before requiring it.
  • API keys are not affected. API keys are not interactive sign-in: the SDK and your backend keep using them without a code.
  • Password reset never signs you in. After a reset, the next sign-in still asks for the code if your account uses two-step sign-in. When the password or account email of such an account changes, however the change was made, any sign-in waiting for a code, every session that entered a code and every remembered device stop working. That includes the session you changed the password from: sign in again with your new password and a code.

#Lost access to your email and your recovery codes

We cannot send you a code, and there is no way around the second step. Email hello@maivn.io from another address. We confirm you own the account by another route before a staff member resets your two-step sign-in. The reset is recorded in our audit log, and the staff member must confirm it with their own code. If you have lost the mailbox itself, we can set a new address for your codes; we tell the old address, and your next sign-in asks for a code sent to the new one.

#Common Login Issues

#Invalid email or password

  • Re-enter your credentials carefully.
  • Confirm Caps Lock is off.
  • Use password reset if needed.

#Too many failed attempts

After repeated failures the sign-in locks for a while with the message "Too many failed sign-in attempts." Wait and try again, or reset your password. The default limit is five failures in 15 minutes.

#Account not verified yet

  • Check your inbox for an account verification email.
  • Open the verification link, then sign in again.

#On the waitlist or suspended

A waitlisted account cannot sign in until it is invited. A suspended account is refused with a message that points you to support. Contact support for either.

#Session expired

  • Sign in again to refresh your session.
  • Check that your browser accepts cookies for the Portal, since the session lives in a cookie.

#The sign-in code did not arrive or did not work

  • Check your spam folder; the email comes from mAIvn.
  • Codes expire after 10 minutes. Select Send a new code; only the newest code works.
  • After too many tries the code screen asks you to sign in again. Wait a few minutes if it says there were too many attempts.
  • Use a recovery code instead if you saved them.

#Authentication temporarily unavailable

  • Refresh the page and try again.
  • If the issue persists, contact support.

#Password Reset

  1. Select Forgot password? on the login page.
  2. Enter your account email.
  3. Open the reset link sent to your inbox.
  4. Set a new password and sign in again.

#Session Behavior

  • Signing out immediately ends your active session.
  • Opening protected routes while signed out redirects you to /login.
  • Profile, Team, project, billing and security pages require authentication.
  • Security-sensitive actions (for example profile or credential updates) require a valid in-session CSRF token.
  • Settings → Security lets you change your password, turn two-step sign-in on or off, manage recovery codes and remembered devices, view your active sessions, and sign out every session except the current one.
  • When you turn two-step sign-in on, your other sessions are signed out. Any session that did not finish the second step is refused by the server, not only hidden in the portal.