diff --git a/.env.example b/.env.example index ed6286c3..03de2bd2 100644 --- a/.env.example +++ b/.env.example @@ -1,10 +1,10 @@ -# Environnement +# Environment NODE_ENV=development -# Base de données +# Database DATABASE_URL=postgresql://devuser:changeme@localhost:5433/devdb?schema=public -# Projet +# Project PROJECT_NAME="Portabase" PROJECT_DESCRIPTION="Portabase is a powerful database manager" PROJECT_URL=http://localhost:8887 @@ -21,11 +21,7 @@ SMTP_FROM= #Port 465 -> secure: true #By default : true -# Google -AUTH_GOOGLE_ID= -AUTH_GOOGLE_SECRET= -AUTH_GOOGLE_METHOD= - +# OIDC SSO Authentification AUTH_OIDC_ID="" AUTH_OIDC_TITLE="" AUTH_OIDC_DESC="" @@ -40,14 +36,21 @@ AUTH_OIDC_JWKS_ENDPOINT="" AUTH_OIDC_PKCE=true ALLOWED_GROUP="admin" +# Social OAuth2 Authentification +AUTH_SOCIAL_ID="" +AUTH_SOCIAL_TITLE="" +AUTH_SOCIAL_DESC="" +AUTH_SOCIAL_ICON="" +AUTH_SOCIAL_CLIENT="" +AUTH_SOCIAL_SECRET="" +AUTH_SOCIAL_APPLE_APP_BUNDLE_IDENTIFIER="" + # If true, the user's role will be updated from OIDC claims on every login. # If false, the role is only set when the user is first created. AUTH_SYNC_OIDC_ROLES_ON_LOGIN=true - AUTH_EMAIL_PASSWORD_ENABLED=true AUTH_SIGNUP_ENABLED=true AUTH_PASSKEY_ENABLED=true # Retention RETENTION_CRON="* * * * *" - diff --git a/app/(auth)/layout.tsx b/app/(auth)/layout.tsx index 35e362a7..d44cfbdd 100644 --- a/app/(auth)/layout.tsx +++ b/app/(auth)/layout.tsx @@ -22,11 +22,7 @@ export default async function Layout({
-
- - {children} - -
+
{children}