Admin Portal
The service user and API keys behind the hosted admin portal.
Last updated
The service user and API keys behind the hosted admin portal.
Where: Project β Settings β Admin Portal Β· /projects/<project>/settings?tab=Admin Portal
The Admin Portal signs your end users in to a per-project portal. Its backend authenticates as a dedicated service user and reads the portal layout with an API key you issue on this tab.
Screenshot TODO β capture comes from testing-plan area 17-project-settings.
Create a service user under Membership β Users (role AdminPortalManager), paste its id (usr_β¦) into Service user id, and press Assign service user. A badge shows Assigned or Not set; once assigned, the current id is shown with a copy button and you can Reassign to a different service user.
This section appears once a service user is assigned. Keys follow a two-key model:
At most two keys per service user β delete one before issuing a new one (the tab warns when you hit the limit).
Issue key creates a key, with an optional Key name (default Admin Portal key). The plaintext is shown once, right after issuing β copy it before leaving the page; the server stores only a hash.
Put the key in your self-hosted portal's API_KEY environment variable.
The list shows each key's name, its first characters, the created date, an expiry date if set, and an inactive marker. Delete (with an inline confirm) is permanent and stops any deployment still using that key.
There is no enable/disable switch β the portal works as long as at least one valid key exists.
The tab notes that brand, auth options and legal documents on the portal's sign-in screen are controlled by the expose toggles on the Access tab; this tab only manages the service user and its keys.
Endpoints: assign-admin-portal-service-user, get-admin-portal-structure.
Last updated