First login tour
How people sign in to Egret, what the single sign-on and break-glass logins are for, and where things are in the app.
Sign in
The sign-in page changes with the server configuration.
| Configuration | What the page shows |
|---|---|
Single sign-on off (oidc.enabled = false, the default) | An email and password form. |
| Single sign-on on (as on the demo stack) | Sign in with SSO, and a small Admin sign-in (break-glass) link below it. |
Sign in with SSO
-
Press Sign in with SSO. The browser goes to your identity provider.
-
Sign in there. In the development stack and the demo stack the provider is Keycloak and the realm
egrethas three users:User Password Group claim admin-ssoAdmin12345!platform-adminsmember-ssoMember12345!data-teamtesterpwdata-team
-
The provider sends the browser back to Egret. Egret creates your account the first time it sees your identity (matched by the token's
sub), updates your name and email on every sign-in, and joins you to the groups named in the token'sgroupsclaim.
Egret creates the account as a plain member. What a person can do comes from roles granted to their groups, and those
grants are made by an administrator: assign a platform role to the group under Control Plane → Groups, or add the group
to a workspace under Manage → Workspace settings → Members. From a terminal, egret workspace add-group --workspace <slug> --group <idp-group> --role ws_editor does the second one. A workspace administrator can also add the person by
email before their first sign-in. Until a grant exists, the person can sign in and sees only a No workspaces yet card
with their email, Check again and Sign out.
Break-glass administrator
The local administrator account created by egret init keeps working when single sign-on is on. It is the way in when the
identity provider is down or misconfigured.
-
Press Admin sign-in (break-glass). The email and password form appears under the SSO button.

-
Enter the administrator's email (
admin@egret.localunless you setEGRET_ADMIN_EMAIL) and password, then press Sign in. On the demo stack the password isAdmin12345!.
Treat this account like a root password: use it to set up single sign-on and to recover, and give day-to-day administrators a platform role through their IdP group. The security checklist covers securing it.
Errors on the page
| Message | Meaning |
|---|---|
| Invalid email or password | The email and password do not match a local account. |
| Too many failed sign-in attempts. Try again in 5 minutes. | Five failed attempts within 5 minutes. Wait the time the message gives; successful attempts do not count. |
For SSO errors see SSO errors.
The layout
After signing in you land in SQL Lab of your default workspace.

The top bar
| Control | What it does |
|---|---|
| Workspace picker (top left) | Switches between the workspaces you belong to. |
| Explorer | Everyday work inside the current workspace. |
| Governance | Data access policy and classification. |
| Control Plane | Platform administration. Visible with platform permissions. |
| Theme toggle | Light and dark theme. |
| Account menu (your initials) | Shows who you are signed in as, and Log out. |
The Explorer sidebar
| Section | Pages |
|---|---|
| Explore | SQL Lab, Datasets, Charts, Dashboards, Apps, Alerts & Reports |
| Data API | Endpoints, Clients, Activity |
| Workflows | Flows, Executions, Namespaces, Triggers |
| Manage | Workspace settings |
Use ⌘+K for the command palette, and Collapse at the bottom to shrink the sidebar.
The sidebar lists only what you can open. A module that is switched off for the workspace is left out, and so are the Data API and Workflows items whose permission you do not hold in this workspace (data_api_endpoint:read for Endpoints and Activity, service_account:read for Clients, workflow:read for the Workflows pages).
A page you cannot open
When you follow a link to a page you have no access to, the page reads 403 — Forbidden and You don't have access to this page., inside the app, under its header; inside a workspace the workspace picker and the app switcher still work. When it knows why, it says so, for example This workspace does not exist, or you are not a member of it. Ask one of its admins to add you, or choose Request access in the workspace menu. for another team's workspace, or Control Plane needs a platform administrator or a Control Plane permission such as user:read. It offers Go back when there is a page to go back to, and Open <workspace> for a workspace you belong to. A page whose content the server refuses (for example Endpoints, Clients or Flows without the read permission) shows the same message instead of its list and buttons. A section of a page, such as Workspace settings → Members, says You don't have access to this section. the same way.

Small screens
Below 1024 px wide the sidebar is always the 64 px icon rail, and Collapse is hidden because there is nothing to toggle. A table wider than the page scrolls sideways inside its own box, with a shade on the edge that is cut off; the page itself does not scroll sideways. Rows of page tabs wrap onto a second line, and the Workspace settings tabs scroll sideways with the same shade.
Under Manage → Workspace settings → Connections, not under Explore. See Connections, or follow the first step of Your first dashboard.