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

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

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

Creates an OAuth helpers object for Azure AD OAuth.

Parameters

clientId: string

The client ID of your Azure AD tenant.

clientSecret: string

The client secret of your Azure AD tenant.

domain: string

The domain of your Azure AD B2C tenant.

policyName: string

The name of the policy.

tenantId: string

The tenant ID of your Azure AD B2C tenant.

scopes: string[]

The scopes for the Azure AD OAuth flow.

Returns

OAuthHelpers

An OAuth helpers object for Azure AD B2C OAuth.