Skip to content

Maliffic/nestjs-microsoft-graph

Repository files navigation

Nest Logo

Description

Microsoft Graph module for Nest framework (node.js)

Before Installation

TBD

Configuration

TBD

Import the MicrosoftGraphModule with the following configuration:

import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { MicrosoftGraphModule } from 'ms-graph.module';

@Module({
  controllers: [AppController],
  providers: [AppService],
  imports: [
    MicrosoftGraphModule.withConfig({
      grant_type: '**',
      client_id: '**',
      client_secret: '**',
      scope: '**',
      endpoint:
        'https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token',
    }),
  ],
})
export class AppModule {}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published