Setting up multiple Organizations in an Enterprise installation
The setup and management of additional organizations works in a similar way as setting up the first organization: It requires logging in as the admin-user
.
Acquire admin login link
The admin login link has the form of https://your-installation.gitpod.cloud/api/login/ots/admin/<token>
, where the token part is compared with a hash of the token stored in a Secret
named admin-credentials
in the default
namespace of the Gitpod installation. It has a data
entry named admin.json
, which is filled with a JSON shape of the form:
Instructions on how to build the previewctl
tool in the gitpod-io/gitpod repository:
Log in to the Gitpod installation
After following the link, you should be seeing the Gitpod dashboard, as the admin-user
.
Logged in as admin-user - Gitpod Dashboard
Also note how the Organization dropdown at the top left now shows:
- All organizations there are on this installation (
admin-user
is made member of all of them on every login) - The “Create Organization” button
Secret
is mounted via kubernetes, it make take some time until the content is reflected in the pod that handles the login request. If you experience an “token expired” message, please wait a bit and try again.Create an additional Organization
After clicking “Create Organization”, choose a name, confirm and the new organization is created.
Create another organization - Create Organization View
For other people to join that organization, SSO has to be configured next.
Configuring SSO
This can be done under “Organization Settings” -> “SSO” and works as described in Configure SSO.
Setup SSO for that other organization - Setup SSO View
After the SSO config is verified and activated, logout (as admin-user
).
Login to any organization
To login as regular user again, go to https://your-installation.gitpod.cloud/login
, select an organization to log in to by providing the organization name and select “Continue with SSO”.
Login to any organization - Login View
?orgSlug=<orgName>
to any URL. This works for for workspace creation URLs as well, e.g. https://your-installation.gitpod.cloud/?orgSlug=supercorp#https://github.com/some/repo
Was this page helpful?