From 237c388e31bdb774d9997c3029bf8a1f5e64d4cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?B=C3=BCn=20Colak?=
Date: Mon, 6 Jun 2022 15:43:38 +0200
Subject: [PATCH] update docs
---
apps/builder/components/auth/SignInForm.tsx | 2 +-
apps/docs/docs/self-hosting/configuration.mdx | 14 ++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/apps/builder/components/auth/SignInForm.tsx b/apps/builder/components/auth/SignInForm.tsx
index b07907959..dc78eccf4 100644
--- a/apps/builder/components/auth/SignInForm.tsx
+++ b/apps/builder/components/auth/SignInForm.tsx
@@ -84,7 +84,7 @@ export const SignInForm = ({
>
configure at least one auth provider
{' '}
- (Email, Google, GitHub or Facebook).
+ (Email, Google, GitHub, Facebook or Azure AD).
)
return (
diff --git a/apps/docs/docs/self-hosting/configuration.mdx b/apps/docs/docs/self-hosting/configuration.mdx
index d8864c487..3ff005b27 100644
--- a/apps/docs/docs/self-hosting/configuration.mdx
+++ b/apps/docs/docs/self-hosting/configuration.mdx
@@ -112,6 +112,20 @@ The Authorization callback URL should be `$NEXTAUTH_URL/api/auth/callback/facebo
+Azure AD (Auth)
+
+
+If you are using [Azure Active Directory](https://azure.microsoft.com/en-us/services/active-directory/) for the authentication you can set the following environment variables.
+The Authorization callback URL should be `$NEXTAUTH_URL/api/auth/callback/azure-ad`
+
+| Parameter | Default | Description |
+| ---------------------- | ------- | ------------------------------------------------------------- |
+| AZURE_AD_CLIENT_ID | -- | Application client ID |
+| AZURE_AD_CLIENT_SECRET | -- | Application client secret. Can be obtained from Azure Portal. |
+| AZURE_AD_TENANT_ID | -- | Azure Tenant ID |
+
+
+
S3 Storage (Media uploads)