@bizdoc/azure
v3.4.1
Published
Azure Active Directory authentication for BizDoc.
Downloads
65
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/azureIn 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();