A unified digital identity framework for Pakistan, built on Keycloak to enable secure, seamless access to digital services.
Pehchan transforms Pakistan's identity infrastructure for the digital era. By providing a single, secure digital identity that works across government and private services, Pehchan eliminates the need for multiple credentials while ensuring user privacy and data control.
- Universal Access: Single sign-on across multiple services
- Privacy-First Design: Advanced encryption and zero-knowledge proofs
- User Control: Granular consent settings for data sharing
- Modern Stack: Built with Next.js, Tailwind CSS, and shadcn/ui
- Open Standards: Powered by Keycloak for robust identity management
- Node.js 18.x or later
- Docker (for running Keycloak locally)
- PostgreSQL
- Clone the repository:
git clone https://github.com/codeforpakistan/pehchan.git
cd pehchan
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env.local
- Start Keycloak using Docker:
docker-compose up -d
- Run the development server:
npm run dev
Visit http://localhost:3000
to see the application.
Pehchan is built with:
- Next.js: For server-side rendering and API routes
- Tailwind CSS: For utility-first styling
- shadcn/ui: For beautiful, accessible components
- Keycloak: For identity and access management
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your fork
- Submit a pull request
TBA
Found a security issue? Please report it through our Security Policy.
- Core authentication system
- Integration with government services
- Mobile application
- Biometric authentication
- Private sector partnerships
- Digital signature capabilities
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by GOV.UK Verify and Singapore's Singpass
- Supported by the Civic Innovators Program
Built with ❤️ for Pakistan 🇵🇰