Chuyển tới nội dung chính

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.

ConfigurationWhat 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.

The sign-in page with single sign-on enabled

Sign in with SSO​

  1. Press Sign in with SSO. The browser goes to your identity provider.

  2. Sign in there. In the development stack and the demo stack the provider is Keycloak and the realm egret has three users:

    UserPasswordGroup claim
    admin-ssoAdmin12345!platform-admins
    member-ssoMember12345!data-team
    testerpwdata-team

    The Keycloak sign-in form for the egret realm

  3. 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's groups claim.

A new SSO user starts with no access

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.

  1. Press Admin sign-in (break-glass). The email and password form appears under the SSO button.

    The sign-in page with the break-glass form open

  2. Enter the administrator's email (admin@egret.local unless you set EGRET_ADMIN_EMAIL) and password, then press Sign in. On the demo stack the password is Admin12345!.

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​

MessageMeaning
Invalid email or passwordThe 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.

SQL Lab, the first page after signing in

The top bar​

ControlWhat it does
Workspace picker (top left)Switches between the workspaces you belong to.
ExplorerEveryday work inside the current workspace.
GovernanceData access policy and classification.
Control PlanePlatform administration. Visible with platform permissions.
Theme toggleLight and dark theme.
Account menu (your initials)Shows who you are signed in as, and Log out.

The Explorer sidebar​

SectionPages
ExploreSQL Lab, Datasets, Charts, Dashboards, Apps, Alerts & Reports
Data APIEndpoints, Clients, Activity
WorkflowsFlows, Executions, Namespaces, Triggers
ManageWorkspace 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.

Control Plane opened by a workspace viewer: 403 — Forbidden under the app header, with the reason and an Open Default button

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.

Where do I register a database?

Under Manage → Workspace settings → Connections, not under Explore. See Connections, or follow the first step of Your first dashboard.

Next​