System Management Portal
This documentation refers to the deployment of the Admin application in our server repository.
To disambiguate this application from others in the Bitwarden landscape, we refer to it as follows:
- For Cloud-Hosted Instances (internal to Bitwarden) → Bitwarden Portal
- For Self-Hosted Instances → System Management Portal
Setup
-
Navigate to the
server/src/admindirectory. -
Restore nuget packages:
dotnet restore -
Install npm packages:
npm ci -
Build the admin project:
dotnet build -
Build out the
wwwrootdirectory with the necessary stylesheets and libraries:npm run build -
Start the server:
dotnet run -
Confirm it's working by using your favorite browser to navigate to the portal URL. By default, this is http://localhost:62911.
Configuring access
Authentication
Portal authentication is done entirely through a passwordless flow, using a link sent through email.
The email address must be listed in the adminSettings:admins user secret to be authorized.
If you’ve followed the Server Setup Guide this should already be configured, with the following accounts having access:
owner@localhostadmin@localhostcs@localhostbilling@localhostsales@localhost
If not, please go back and configure it now.
See User Secrets for how to configure your user secrets.
Logging in
- Navigate to your portal URL. By default, this is http://localhost:62911.
- Enter
admin@localhostas the email (or whatever email you’ve configured in your user secrets) - Open MailCatcher (default is http://localhost:1080) and click the login link.