Skip to main content
Module

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

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

Creates an Azure AD B2C OAuth2 client configuration.

Parameters

clientId: string

The client ID of your Azure AD B2C tenant.

clientSecret: string

The client secret of your Azure AD B2C 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.

scope: string[]

The name of the scopes you want to request.

Returns

DenoKVOAuth.OAuth2ClientConfig

The configured OAuth2 client configuration for Azure AD B2C.