How to configure Microsoft authentication

To configure Microsoft authentication and SSO, you will need an authority URL & a client ID.

To generate these;

  1. Sign into Azure Portal

  2. Navigate to App registrations → New registration

  3. Give this registration a name, and pick the account type option

  4. Once registered, you will be able to obtain your client ID (Application ID)

  5. On the app overview, select Add a certificate or secret & then New client secret
    image

  1. On the overview page, select Add a Redirect URI → Add a platform → Single-page application
  2. specify http://localhost & http://localhost/assets/renew.html as the redirect URIs, and ensure you allow Access tokens and ID tokens and then select the configure button

  1. Copy your Directory ID. You can find this from the Portal settings → Directories page.

  2. Open FSBlocker and open user configuration (configuration → users) and enter your authority url and client id. You should ensure scope is set to ‘openid profile email’

Finally, once configured you need to add a user for any user you want to login with. Ensure you uncheck ‘local’