@bizdoc/azure
v3.0.0
Published
Azure Active Directory authentication for BizDoc.
Downloads
10
Readme
Azure for BizDoc
Azure Active Directory authentication for BizDoc.
This library expects BizDoc.Core.Azure Nuget on the server side.
Setting up
npm i @bizdoc/azure
In app.module:
import { AzureModule } from '@bizdoc/core';
imports: [
BizDocModule.forRoot(...),
AzureModule.forRoot({
clientId: "{client-id-here}"
})
]
Server side
Create Azure application.
startup.cs:
services.AddBizDoc(...).
AddAzureActiveDirectory(o => {
options.ApplicationIdURI = "api://{domain-here}/{app-id-here}";
options.ClientId = "{client-id}";
options.TenantId = "{tenent-id}";
options.ClientSecret = "{client-secret}";
}).UseIdentityProvider();