Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

National-ID-Program-Ethiopia/Fayda_demo_service_token_exchange

Domain:

digital infrastructure

Record type:

software
Creator:
Nat
Host:
# Fayda demo service — token exchange This folder groups two demo services under one parent directory: - `fayda-oidc-demo-mock-service` (React + Express): OIDC login (PKCE) + optional token exchange + consent flow. - `farmer-registry-demo` (Django): resource server demo that introspects opaque tokens (runs on **port 8000**). --- ## Run the Django resource server (port 8000) ```bash python3 -m venv venv source venv/bin/activate pip install -r requirements.txt python manage.py migrate cp .env.example .env python manage.py runserver 0.0.0.0:8000 ``` --- ## Run the OIDC demo mock service (React + Express) ```bash cp server/.env.example server/.env cp client/.env.example client/.env npm install npm install --prefix client npm install --prefix server npm run dev ``` - UI: `localhost` - API: `localhost` Make sure `client/public/env-config.js` has `RESOURCE_SERVER_URL` set to `localhost`.

Visit

github.com