Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,35 @@ SESSION_STALE_TTL=10m
# AUTH_AUDIENCE=account
# AUTH_JWKS_URL=http://localhost:8080/realms/jan/protocol/openid-connect/certs

# ============================================================================
# Connectors (OAuth Integrations)
# ============================================================================
# External service connectors allowing AI to access user data with OAuth

# GitHub Connector (full read/write access)
GITHUB_CONNECTOR_ENABLED=false
GITHUB_CLIENT_ID= # Get from: https://github.com/settings/developers
GITHUB_CLIENT_SECRET=

# Google Connectors (Gmail, Drive, Calendar)
# All Google connectors share the same OAuth client
GOOGLE_CONNECTOR_ENABLED=false
GOOGLE_CLIENT_ID= # Get from: https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_SECRET=

# Connector security settings
CONNECTOR_TOKEN_ENCRYPTION_KEY= # 32 bytes hex-encoded (64 chars) for AES-256-GCM
OAUTH_STATE_SECRET= # 32 bytes hex-encoded for HMAC signing
OAUTH_STATE_EXPIRATION=5m
OAUTH_REDIRECT_BASE_URL=http://localhost:8000/v1/connectors
OAUTH_FRONTEND_URL=http://localhost:3001/connectors/callback

# MCP Tools Connector Integration
MCP_ENABLE_GITHUB_CONNECTOR=false
MCP_ENABLE_GMAIL_CONNECTOR=false
MCP_ENABLE_DRIVE_CONNECTOR=false
MCP_ENABLE_CALENDAR_CONNECTOR=false

# ============================================================================
# Analytics (PostHog + OpenTelemetry)
# ============================================================================
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ config/secrets.env
config/*.local.env

# Todo
/.claude/
**/.claude/
/todos

/tests/requests
Expand Down Expand Up @@ -310,3 +312,4 @@ tools/jan-cli/config/

# jan-cli binary
tools/jan-cli/jan-cli
.claude/settings.local.json
7 changes: 1 addition & 6 deletions apps/platform/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ import { AuthProvider } from '@/components/auth-provider';
import { SiteHeader } from '@/components/site-header';
import { RootProvider } from 'fumadocs-ui/provider/next';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';

const inter = Inter({
subsets: ['latin'],
});

export const metadata: Metadata = {
title: 'Jan Platform',
Expand All @@ -21,7 +16,7 @@ export const metadata: Metadata = {

export default function Layout({ children }: LayoutProps<'/'>) {
return (
<html lang="en" className={inter.className} suppressHydrationWarning>
<html lang="en" className="font-sans" suppressHydrationWarning>
<body className="flex flex-col min-h-screen" suppressHydrationWarning>
<AuthProvider>
<div className="relative flex min-h-screen flex-col">
Expand Down
Loading
Loading