Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_common/src/oauth/createAzureADOAuthConfig.ts>createAzureADOAuthConfig

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Latest
function createAzureADOAuthConfig
import { createAzureADOAuthConfig } from "https://deno.land/x/fathym_common@v0.2.167/src/oauth/createAzureADOAuthConfig.ts";

Creates an Azure AD OAuth2 client configuration.

Parameters

clientId: string

The client ID of your Azure AD tenant.

clientSecret: string

The client secret of your Azure AD tenant.

tenantId: string

The tenant ID of your Azure AD tenant.

scope: string[]

The name of the scopes you want to request.

Returns

DenoKVOAuth.OAuth2ClientConfig

The configured OAuth2 client configuration for Azure AD.