Admin Portal
Configuring users
Admin 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 and will
default to [email protected]
. If not, please go back and configure it now.
See User Secrets Reference for how to configure your user secrets.
Setup
Navigate to the
server/src/admin
directory.Restore nuget packages:
dotnet restore
Install npm packages:
npm ci
Build the admin project:
dotnet build
Build out the
wwwroot
directory with the necessary stylesheets and libraries:npx gulp build
Start the server:
dotnet run
Confirm it's working by using your favorite browser to navigate to your admin page. By default, this is http://localhost:62911.
Logging in
- Navigate to your admin site. By default, this is http://localhost:62911.
- Enter
[email protected]
as the email (or whatever email you’ve configured in your user secrets) - Open MailCatcher (default is http://localhost:1080) and click the login link.