Signing in

Description
The application is reachable at https://ai.myra.eu and is protected by an admin session cookie (aig_admin). The sign-in page is at the URL /login. The application redirects to /login when an unauthenticated browser tries to reach a protected route.
The sign-in page heading reads Welcome back to AI Workspace (or the tenant's white-label product name, when configured). The page offers these sign-in methods:
- Email one-time code (OTP) — a 6-digit code sent to the email address. Every account can use this method.
- Single sign-on (SSO) — a redirect to the organization's identity provider (OpenID Connect or SAML 2.0). This method is available only when an administrator has configured SSO for the tenant that owns the email domain.
- Google / Microsoft quick sign-in — one-click sign-in (and registration) with a Google or Microsoft account. Each provider's button appears only when a platform admin has turned the feature on (
oauth_login_enabled, off by default) and that provider's credentials are provisioned; otherwise the page shows only OTP and SSO. On the register page the same button can always be clicked, but it starts nothing until the Terms + AVV consent checkbox is ticked (a click before that moves you to the checkbox) — the acceptance is recorded with the Google/Microsoft registration exactly as with the email one. If a Google/Microsoft sign-in cannot complete (a disabled account, a transient fault), you return to the sign-in page with a message explaining why. Myra platform administrators cannot use Google or Microsoft while admin MFA is enforced: the page says to sign in with email, password and a second factor.
The sign-in page detects an SSO domain automatically: the Continue with SSO button appears after the user types an email address whose domain has an enabled SSO configuration. There is no separate SSO entry point on the page. When SSO is detected, the line Your organisation signs in with single sign-on. appears above the button. SSO is offered, not enforced: Request code under the hint or sign in with a one-time code still sends the email code. If the sign-in settings cannot be checked when Request code is clicked (a temporary server fault), the page shows Sign-in is briefly unavailable. Please try again in a moment. and sends no code — try again shortly.
Accounts are not created automatically on first sign-in — neither by email OTP nor by SSO. An administrator must add the user account in advance from the Members view, or the identity provider provisions it through SCIM. See Members and Tenants.
💡 Note: App Store reviewer accounts and similar fixed credentials use a static OTP set by an administrator. The user enters the email address and the configured static code through the same flow described below; no email is sent for static-OTP accounts.
Session duration
The session length is the same for every sign-in method and depends on the Stay signed in for 30 days on this device option, which is ticked by default — so an ordinary sign-in lasts 30 days, and clearing the box gives the shorter 8-hour session. Creating a new account is always the 30-day session (there is no box on the sign-up page):
| How the session starts | Option cleared | Option ticked (default) |
|---|---|---|
| Email OTP (code or sign-in link) | 8 hours | 30 days |
| Single sign-on (OIDC / SAML) | 8 hours | 30 days |
| Sign in with Google / Microsoft | 8 hours | 30 days |
| Self-service sign-up — email code, verification link, paid checkout, or Sign up with Google / Microsoft (also when that address already has an account) | — | 30 days |
A new trial user who signed up yesterday is therefore still signed in today on the same device. On a shared computer, sign out when you are done (see Signing out) — the sign-up session has no shorter option.
The session is carried in the aig_admin cookie (a signed JWT). The application redirects to /login when the session expires. Reaching /login while a valid session is active redirects to the page named by the sign-in link (see Returning to the requested page) or, without one, to the chat (/easy) — the start view for every role.
Organisation limits. An administrator can set a maximum session length and an idle timeout for the organisation (see Organisations). The maximum counts from when you signed in and cannot be extended by staying active; when it is reached you are sent to /login. The idle timeout ends a session that has not been renewed for that long, which in practice means no signed-in browser tab was open: while a tab is open the app keeps renewing the session, so reading without typing does not sign you out. An administrator can also sign you out everywhere at any time; you then have to sign in again.
If the browser loses that cookie before the session's time is up (without you signing out), the application notices on the next load and, after you sign in again, quietly sends a diagnostic report so the operator can find out why. Nothing is shown to you, and no token is stored for it.
Role model
Every account has one role. The role controls which views appear in the sidebar and which actions the account may perform.
| Role | Access |
|---|---|
admin |
The whole platform: every tenant, gateway, and user. |
tenant_admin |
The user's own tenant: manages gateways, users, and tenant-level settings within the tenant. |
ki_manager |
The user's own tenant: manages groups and workflows, and sees group-scoped cost analytics. No tenant, gateway, or user administration. |
member |
The user's own tenant: full chat and inference access; can create personal authentication tokens on their Profile page (Account › Profile). No user, tenant, or gateway administration. |
finance |
The user's own tenant: the finance and cost console only (spend, budgets, model prices). Can send inference; no user, tenant, or gateway administration. |
viewer |
The user's own tenant: read-only access to the application. Cannot create tokens or send inference requests. |
💡 Note: The
demouserrole is a special no-login demo identity. The public demo entry point that used it is disabled: a/demo?for=<name>link no longer starts a session. The role is retained for any session issued before the cut-off (valid until it expires) and for a future re-enable; it does not sign in through the sign-in page described here.
Signing in with email OTP
Before you begin, ensure the following conditions are met:
- ☑ Your email address is registered as a user account in the application. Contact an administrator if you do not have access.
Proceed as follows to sign in with email OTP:
- Open the URL
/loginin a web browser.- The email-address form is shown directly. Sign-in is a two-step flow — an email address, then a 6-digit code — with no separate method chooser.
- Enter your email address in the Business email address text field.
- The Stay signed in for 30 days on this device check box is ticked by default, so the session lasts 30 days. Clear it if you want the shorter 8-hour session instead. The same choice decides whether this device remembers your e-mail address: after a successful sign-in with the box ticked, the address is prefilled the next time you open the sign-in page (web and app alike, stored only on this device — only the address is kept; never a password, a code or a session). Signing in with the box cleared forgets it again, which is the right choice on a shared device.
- Click on the Request code button.
- The button label changes to Sending… until the request completes.
- For accounts without a static OTP: the system sends a 6-digit code to the email address. The code expires after 15 minutes (an installation may configure a different window) and can be used only once. Only the newest code is valid: requesting another code invalidates every earlier one.
- For accounts with a static OTP set: the system does not send an email; use the configured static code in step 7.
- For an account that can no longer sign in — it was deleted or disabled by an administrator, or its organisation was deleted — no code is sent. Instead the address receives an email explaining that the account has been deactivated (or disabled) and asking the person to contact their organisation administrator; for a member of a self-serve workspace who may create a new account, the email also links to the sign-up page. The page itself shows the same We sent a code to step as for every other address, so nobody can use the sign-in page to find out which addresses have an account. At most one such email is sent per address per day (per server). An account the person deleted themselves, and an account whose data was permanently erased, receive no email.
- The 6-digit code form opens with the prompt We sent a code to
<EMAIL>. > 💡 Note: In an organisation that signs in with Email + password + second factor, a person who already has a password is taken to the password step instead and gets no code. A person without a password yet gets the code and then sets a password. The one-click link and a typed code never sign a password user in: the page moves them to the password step. Accounts with a static OTP cannot sign in with it in such an organisation. Details: Password and second factor sign-in. - If the code does not arrive, click on the Didn't get the code? Resend control to request a fresh code, and check your spam folder.
- The Resend control is disabled for a 30-second cool-down after each send and shows Resend in
<n>swhile it counts down. - A resend does not cancel the earlier code, but at most the three newest codes for an address work: after a fourth request the first code stops working — enter the code from the newest email. At most 10 codes can be requested for an address within the code window; further requests are answered with Too many codes requested. Please wait a few minutes before requesting another.
- The Resend control is disabled for a 30-second cool-down after each send and shows Resend in
- Enter the 6-digit code in the 6-digit code text field.
- Click on the Sign in button.
- The button label changes to Verifying… until the verification completes.
-> The system creates the session cookie and returns to the page that asked for the sign-in (see below) or, without one, redirects to the start view.

💡 Note: The same email also contains a one-click sign-in link. Open the link in the same browser where you asked for the code to sign in without entering the code. The link works once: using it signs you in and makes the 6-digit code in that email stop working. If you do not open the link, the 6-digit code still works as usual. If a link in the email cannot be built safely, the email carries the 6-digit code only.
Opening the sign-in link in another browser or on another device. The link is tied to the browser where you asked for it, so nobody can send you a sign-in link for their account and have you work in it without noticing. Opened anywhere else — another browser, another computer, your phone, or the browser built into your mail app — the link does not sign you in by itself. Instead the page asks Sign in with this link? and shows the email address of the account the link belongs to:
- If that is your address and you asked for the link yourself, click on Continue to sign in. You are signed in for the standard session length; Stay signed in for 30 days applies only in the browser where you ticked it.
- If you do not recognise the address, or someone else sent you the link, click on Cancel — you would otherwise be working in their account.
If you asked for a code in one browser and then open an older link from a different request in another browser, the page shows "This link was requested in a different browser. Open it there, or enter the 6-digit code from the email here." — enter the 6-digit code instead. In the MYRA app, a link you requested in the app signs you in with one tap; a link requested in your phone's web browser opens in the app and asks for confirmation first.
💡 Note: After five incorrect entries a code is spent: further attempts with it are answered with Too many attempts. Please request a new code. Request a fresh code (Resend) and enter it to sign in — the new code has its own five attempts. Independently of that, twenty rejected entries for the same address within an hour — wrong codes and entries against an already-spent code count alike — block sign-in for that address until the hour has passed (Too many failed attempts. Please wait an hour before trying again.); a successful sign-in clears this. Because code requests need no sign-in, anyone who knows an address can make it hit these limits — an inconvenience bounded to the window, never a way in.
💡 Note: If requesting the code fails with a connection message, the message says why — you are offline, the server cannot be reached from your network, the answer was blocked on the way (firewall, proxy or VPN, security filter, browser extension), or the network's security filter blocked too many requests (wait a few minutes — or use Verify and continue, which opens a short check in a new tab, and then request the code again). Each such message shows a Support reference with a Copy button — send it to your administrator or Myra support. See Network errors in the app.
Signing in with a password
💡 Note: Password sign-in is being rolled out organisation by organisation. If your organisation has not been switched over, the sign-in works exactly as described above and you will not see the password step.
When your organisation signs in with a password, the flow after the email address differs:
- Enter your email address and click on the Request code button, as above.
- The Enter your password step opens instead of the code step. It shows the email address you entered with a Change email control, a Password field and a Continue button. The page shows two steps, Password and Second factor. No code is emailed.
- Enter your password. Click on the eye control in the field to show or hide what you typed. Password managers can fill the field and recognise the address.
-
Click on the Continue button. The label changes to Checking… until the answer arrives.
-
Wrong password: the page shows "Email or password is not right. Check both and try again." and keeps you on the step. The message does not say which of the two was wrong.
- Paused sign-in: after 10 wrong passwords in a row, sign-in for the account is paused for 30 minutes and the page shows "Sign-in is paused after too many wrong passwords. Try again later." The password field is removed until you start again.
- Empty field: the page asks you to enter your password without contacting the server.
- Too many attempts at once: wait a minute and try again.
- Change email: returns to the email step.
Switching your organisation to password and second factor does not sign you out: your current session keeps working until it ends, then you sign in with password and second factor.
The second factor that follows the password is not available in this version of the page: a correct password leads to a notice that the step is not available yet, with a Use another account control that returns to the email step. No session is started. If you have a password but no second factor yet, the gateway also mails you a sign-in code for the setup of your first factor (it is valid for the same time as a normal sign-in code); the page does not show the step to enter it yet, so the notice above is what you see.
Returning to the requested page
Opening a signed-in page without a session — a conversation link such as /easy/c/<id>, a dashboard view, or a shared conversation's Continue this conversation button — leads to the sign-in page with the requested page recorded in the link (/login?next=<page>). After the email-code sign-in the browser returns to that page: the conversation opens, and for a shared conversation the copy is created and opened without a second click on Continue. Only a page of this application is honoured — an absolute address, a // address, a path containing a backslash or a percent-encoded slash/backslash, a sign-in or sign-up page, or an otherwise malformed value is ignored and the sign-in lands on the start view instead. A single-sign-on or Google/Microsoft round trip carries the requested page too: it is remembered in the browser tab for ten minutes while you are at the identity provider and applied once when the sign-in returns to this application in that same tab — so a shared conversation's Continue and a reminder e-mail's link both work with single sign-on. If the identity provider sends you back with an error, the remembered page is kept for a retry (by single sign-on or by e-mail code). A round trip that ends in a different tab or app lands on the start view.
Signing in with single sign-on

Single sign-on authenticates existing accounts through the organization's identity provider. It does not create accounts by default: an identity that does not match an existing account in the tenant is rejected, unless an administrator has switched on just-in-time provisioning for the tenant (the account is then created on the first sign-in with the tenant's configured default role — Member unless an administrator changed it under New users — if a seat is free). Single sign-on is offered only when an administrator has enabled it for the tenant and mapped the email domain to it (see Tenants).
Before you begin, ensure the following conditions are met:
- ☑ Your account exists in a tenant that has single sign-on enabled for your email domain.
Proceed as follows to sign in with single sign-on:
- Open the URL
/loginin a web browser.- The email-address form is shown directly (no separate method chooser).
- Enter your email address in the Business email address text field.
- When the email domain has an enabled SSO configuration, the Continue with SSO button appears above the hint or sign in with a one-time code.
- If required, tick the Stay signed in for 30 days on this device check box.
- Click on the Continue with SSO button.
- The browser is redirected to the organization's identity provider.
- Complete the sign-in at the identity provider.
-> The identity provider redirects the browser back, the system creates the session cookie, and the start view opens.
💡 Note: While admin MFA is enforced, Myra platform administrators cannot sign in with single sign-on. The page shows "Myra administrators sign in with email, password and a second factor. Enter your email address to continue."
💡 Note: When a domain is configured for both OpenID Connect and SAML, OpenID Connect is used. To use the email one-time code instead of SSO, click on the Request code button under the hint or sign in with a one-time code. If the page shows Sign-in is briefly unavailable. Please try again in a moment., the sign-in settings could not be checked — wait a moment and try again.
💡 Note: When your organization requires single sign-on, the page shows "Your organisation requires single sign-on." and the Request code option is not offered. Existing sessions end when the requirement is switched on, so sign in again with SSO. Designated break-glass administrators additionally see a Break-glass account? Send an e-mail code button; their use of it is recorded in the audit log. See Admin API authentication.
The identity-provider details, the domain-to-tenant mapping, and the department-to-group mapping are described in the Admin API authentication reference.
Signing out
Proceed as follows to sign out:
- Click on the Log out action in the user-block menu at the bottom of the left sidebar.
-> The session cookie is cleared and the browser is redirected to /login. Signing out ends a 30-day session (including the one a sign-up starts) in this browser just the same.
💡 Note: For a SAML session, signing out also ends the session at the identity provider (Single Logout) when the identity provider is configured for it. Signing out clears only the current browser's cookie: a session token already issued to another browser or device stays valid until it expires — this is inherent to stateless sessions. (An administrator disabling or deleting the account is different: that ends every session on every device immediately and permanently — see Authentication.)