import { useAuth } from '@/hooks' export default function HomePage() { const { isAuthenticated, login, isLoading } = useAuth() if (isLoading) { return (
) } return (

Welcome to{' '} Keycloak Auth

A secure authentication system powered by Keycloak and FastAPI. Login with your Keycloak credentials to access protected resources.

{!isAuthenticated && (
)} {isAuthenticated && (
Go to Dashboard
)}
{/* Features Section */}

Secure Authentication

HTTP-only cookies protect your tokens from XSS attacks.

Keycloak Integration

Enterprise-grade identity management with Keycloak SSO.

FastAPI Backend

High-performance Python backend with automatic API documentation.

) }