@bizdoc/azure
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i @bizdoc/azure

Weekly Downloads

13

Version

3.0.0

License

none

Unpacked Size

46.8 kB

Total Files

16

Last publish

Collaborators

  • zehavibarak