Login

An object for configuring the login page of a solution.

Overview

By default, deploying a project will result in a solution that requires a user to login with their Packhunt credentials. With the login object the following can be configured:

  • A custom background image and a custom logo.
  • A single tenant login for Azure (MSAL SSO).

Example

Below is an example configuration.

kind: Solution
version: v0
assetsPath: assets
login:
  logo: assets/my-logo.png
  background: assets/my-background.png

LoginConfig

An object for configuring the login page of a solution.

Name Type Required Description
logo string No The file path for the logo image to be shown on the login page. (This can be a JPG or a PNG image.)
background string No The file path for the background image to be shown on the login page. (This can be a JPG or a PNG image.)
azureSingleTenantConfig AzureSingleTenantConfig No An object for configuring a custom single tenant login for Azure (MSAL SSO).

AzureSingleTenantConfig

An object for configuring a custom single tenant login for Azure (MSAL SSO).

Name Type Required Description
clientId string Yes A string specifying the unique application (client) ID assigned to your app by Azure Active Directory (AD) when the app was registered.
authority string Yes A URL specifying the authority of the tenant. See also Authority.