Add Office 365 Authentication¶
Register your application
Sign in to the Azure portal.
If you have access to multiple tenants, use the Directory + subscription filter in the top menu to select the tenant in which you want to register an application.
Search for and select Azure Active Directory.
Under Manage, select App registrations, then New registration.
Enter a Name for your application, for example Totalview.
Under Supported account type select “Accounts in this organizational directory only”
Other types will work, but you must test them out first
Enter a Redirect URI of your Totalview Authentication address followed by “/signin-oidc” (e.g. https://formula.totalview.cloud/Authentication/signin-oidc)
Select Register.
Under Manage, select Authentication.
Under Redirect URIs, enter a Logout URL of your Totalview Authentication address followed by “/signout-oidc” (e.g. https://formula.totalview.cloud/Authentication/signout-oidc)
Under Implicit grant, select ID tokens.
Select Save.
You can find your Application (client) ID and Directory (tenant) ID in the Overview
Create client secret
In the left pane, select Certificates & secrets.
Under Client secrets, select New client secret
Add a Description for the client secret. (e.g. client secret for Totalview)
Set Expire, go as high as you can, this information will only be stored in the database
Select the Add button.
Under Client secrets, copy the value of the client secret.
Go to the Web Admin interface and click on External Authentication. Fill in the required information.