Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.17 KB

File metadata and controls

19 lines (13 loc) · 1.17 KB

Identity server for Power Planner

The identity server for Power Planner accounts

Followed instructions from here for adding IdentityServer4 to the project

Also using these instructions for how to use a custom database store for user credentials

Getting started

  1. In the Azure Portal, open an existing Key Vault resource or create a new one
  2. In the key vault, select Certificates and generate a new certificate, leave all the default options (make sure it's PKCS #12)
  3. Now, create a new web app for the identity server
  4. In the application settings, add WEBSITE_LOAD_USER_PROFILE = 1. Otherwise the certificate key will fail to load
  5. Select the Identity option and enable System assigned identity which will allow setting up access to Azure Key Vault.
  6. Switch back to the Key Vault, go to Access policies, and add a new one. Select the principal as the name of the web app, set the Certificate permissions to Get and List, and save.
  7. Install Azure CLI and log in if you haven't yet
  8. Deploy the site!