0.2.0 • Published 6 months ago

ally-azure-entraid v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Ally driver for Azure Entra ID

A Microsoft Azure Entra ID driver for AdonisJS Ally.

Getting started

npm i ally-azure-entraid

Usage

Add the driver configuration within the config/ally.ts file of an AdonisJS application. For example:

import { AzureEntraIdService } from 'ally-azure-entraid'

defineConfig({
  azure: AzureEntraIdService({
    clientId: env.get('MICROSOFT_CLIENT_ID') || '',
    clientSecret: env.get('MICROSOFT_CLIENT_SECRET') || '',
    callbackUrl: env.get('MICROSOFT_CALLBACK_URL') || 'http://localhost:3333/auth/azure/callback',
    tenantDomain: env.get('MICROSOFT_TENANT_ID') || '',
    scopes: ['openid', 'profile', 'email'],
  })
})
0.2.0

6 months ago

0.1.0

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago