mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 16:24:08 -06:00
chore: make microsoft login available without tenant (#5665)
This commit is contained in:
@@ -30,13 +30,11 @@ export const IMPRINT_ADDRESS = env.IMPRINT_ADDRESS;
|
||||
export const PASSWORD_RESET_DISABLED = env.PASSWORD_RESET_DISABLED === "1";
|
||||
export const EMAIL_VERIFICATION_DISABLED = env.EMAIL_VERIFICATION_DISABLED === "1";
|
||||
|
||||
export const GOOGLE_OAUTH_ENABLED = env.GOOGLE_CLIENT_ID && env.GOOGLE_CLIENT_SECRET ? true : false;
|
||||
export const GITHUB_OAUTH_ENABLED = env.GITHUB_ID && env.GITHUB_SECRET ? true : false;
|
||||
export const AZURE_OAUTH_ENABLED =
|
||||
env.AZUREAD_CLIENT_ID && env.AZUREAD_CLIENT_SECRET && env.AZUREAD_TENANT_ID ? true : false;
|
||||
export const OIDC_OAUTH_ENABLED =
|
||||
env.OIDC_CLIENT_ID && env.OIDC_CLIENT_SECRET && env.OIDC_ISSUER ? true : false;
|
||||
export const SAML_OAUTH_ENABLED = env.SAML_DATABASE_URL ? true : false;
|
||||
export const GOOGLE_OAUTH_ENABLED = !!(env.GOOGLE_CLIENT_ID && env.GOOGLE_CLIENT_SECRET);
|
||||
export const GITHUB_OAUTH_ENABLED = !!(env.GITHUB_ID && env.GITHUB_SECRET);
|
||||
export const AZURE_OAUTH_ENABLED = !!(env.AZUREAD_CLIENT_ID && env.AZUREAD_CLIENT_SECRET);
|
||||
export const OIDC_OAUTH_ENABLED = !!(env.OIDC_CLIENT_ID && env.OIDC_CLIENT_SECRET && env.OIDC_ISSUER);
|
||||
export const SAML_OAUTH_ENABLED = !!env.SAML_DATABASE_URL;
|
||||
export const SAML_XML_DIR = "./saml-connection";
|
||||
|
||||
export const GITHUB_ID = env.GITHUB_ID;
|
||||
@@ -114,7 +112,7 @@ export const S3_REGION = env.S3_REGION;
|
||||
export const S3_ENDPOINT_URL = env.S3_ENDPOINT_URL;
|
||||
export const S3_BUCKET_NAME = env.S3_BUCKET_NAME;
|
||||
export const S3_FORCE_PATH_STYLE = env.S3_FORCE_PATH_STYLE === "1";
|
||||
export const UPLOADS_DIR = env.UPLOADS_DIR || "./uploads";
|
||||
export const UPLOADS_DIR = env.UPLOADS_DIR ?? "./uploads";
|
||||
export const MAX_SIZES = {
|
||||
standard: 1024 * 1024 * 10, // 10MB
|
||||
big: 1024 * 1024 * 1024, // 1GB
|
||||
@@ -218,7 +216,7 @@ export const UNSPLASH_ALLOWED_DOMAINS = ["api.unsplash.com"];
|
||||
export const STRIPE_API_VERSION = "2024-06-20";
|
||||
|
||||
// Maximum number of attribute classes allowed:
|
||||
export const MAX_ATTRIBUTE_CLASSES_PER_ENVIRONMENT = 150 as const;
|
||||
export const MAX_ATTRIBUTE_CLASSES_PER_ENVIRONMENT = 150;
|
||||
|
||||
export const DEFAULT_LOCALE = "en-US";
|
||||
export const AVAILABLE_LOCALES: TUserLocale[] = ["en-US", "de-DE", "pt-BR", "fr-FR", "zh-Hant-TW", "pt-PT"];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"auth": {
|
||||
"continue_with_azure": "Login mit Azure",
|
||||
"continue_with_azure": "Weiter mit Microsoft",
|
||||
"continue_with_email": "Login mit E-Mail",
|
||||
"continue_with_github": "Login mit GitHub",
|
||||
"continue_with_google": "Login mit Google",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"auth": {
|
||||
"continue_with_azure": "Continue with Azure",
|
||||
"continue_with_azure": "Continue with Microsoft",
|
||||
"continue_with_email": "Continue with Email",
|
||||
"continue_with_github": "Continue with GitHub",
|
||||
"continue_with_google": "Continue with Google",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"auth": {
|
||||
"continue_with_azure": "Continuer avec Azure",
|
||||
"continue_with_azure": "Continuer avec Microsoft",
|
||||
"continue_with_email": "Continuer avec l'e-mail",
|
||||
"continue_with_github": "Continuer avec GitHub",
|
||||
"continue_with_google": "Continuer avec Google",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"auth": {
|
||||
"continue_with_azure": "Continuar com Azure",
|
||||
"continue_with_azure": "Continuar com Microsoft",
|
||||
"continue_with_email": "Continuar com o Email",
|
||||
"continue_with_github": "Continuar com o GitHub",
|
||||
"continue_with_google": "Continuar com o Google",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"auth": {
|
||||
"continue_with_azure": "Continuar com Azure",
|
||||
"continue_with_azure": "Continuar com Microsoft",
|
||||
"continue_with_email": "Continuar com Email",
|
||||
"continue_with_github": "Continuar com GitHub",
|
||||
"continue_with_google": "Continuar com Google",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"auth": {
|
||||
"continue_with_azure": "使用 Azure 繼續",
|
||||
"continue_with_azure": "繼續使用 Microsoft",
|
||||
"continue_with_email": "使用電子郵件繼續",
|
||||
"continue_with_github": "使用 GitHub 繼續",
|
||||
"continue_with_google": "使用 Google 繼續",
|
||||
|
||||
Reference in New Issue
Block a user