Skip to content

Government line (dgov.mn)

Production · Layers 2–4 · Repos: *-dgov-mn · *.dgov.mn

The ecosystem's mirror line for government bodies. It shares the same code lineage as the private-sector *.gerege.mn line — same architecture, same conventions, same security baseline.

Why a separate line?

Government and private-sector services differ in three respects: legal requirements, data governance and audit regime. Serving both from one deployment would:

  • blur whose data sits where,
  • make the audit scope hard to define,
  • impose a regulatory change from one side as an unnecessary constraint on the other.

Hence: one codebase, two deployments.

Components

Domain Platform Layer Repo Open source
sso.dgov.mn Government SSO (DAN-Government) 2 sso-dgov-mn
template.dgov.mn Government Template Platform V3.0 3 template-dgov-mn
Government Template — Node.js edition 3 template-dgov-mn-nodejs
developer.dgov.mn DGOV Developer Portal 4 developer-dgov-mn
ring.dgov.mn Ring System 4 ring-dgov-mn
hurdan.dgov.mn The "Khurdan" platform 4 hurdan-dgov-mn

Government SSO

sso.dgov.mn — the OIDC provider of the government line. Same architecture as Gerege SSO: in-house Go OAuth2/OIDC code (replacing Hydra), an eID proxy, and the single place applications are registered.

The identity core is shared by both lines — both rest on eID Mongolia. A citizen has just one eID; whichever line they sign in to, the same certificates and the same PINs apply.

A historical note: this service used to sit on the domain dan.dgov.mn before being renamed to sso.dgov.mn.

Government Template Platform V3.0

template.dgov.mn — the foundation for building e-government. The same stack as the Gerege Template Platform: a Clean Architecture Go backend (chi · pgx · RLS) + Next.js 15 BFF + Gemini AI, eID authentication, OIDC provider.

The Node.js edition (template-dgov-mn-nodejs) is a port of the Go version: Express 5 · pg · RLS backend + React frontend. Stabilisation is ongoing.

Vertical products

Ring System

ring.dgov.mn — a platform for re-engineering public-service processes (pursued through the monitoring and evaluation function of the Cabinet Secretariat).

Its scope is very broad: BPMN/DMN process modelling, process mining, supply chain management. The foundation is laid; development continues.

The "Khurdan" platform

hurdan.dgov.mn — the platform of the regulator for government digital services. A surface for delivering services and supervising that delivery. eID-based, AI-enabled, and built on Government Template Platform V3.0. Open source.

DGOV Developer Portal

developer.dgov.mn — the developer portal of the government line. The same principle as the Gerege Developer Portal: an API catalogue, guidance on registering applications, and no credentials stored locally. Open source.

Mirror correspondence

Role Government Private sector
SSO sso.dgov.mn sso.gerege.mn
Template template.dgov.mn open.gerege.mn
Developer portal developer.dgov.mn developer.gerege.mn
Vertical products Ring · Khurdan Gerege Platform · Wallet
Identity eID Mongolia (shared) eID Mongolia (shared)

Documentation

Several repositories on the government line are open source, so their documentation can be read directly on GitHub. In particular, sso-dgov-mn-documentation maintains the technical documentation of Government SSO separately.