Identity and Access Management
IAM and RBAC concepts within OpenG2P
1. Introduction
1.1 Purpose
1.2 Scope
1.3 Key Concepts
Concept
Description
2. System Overview
2.1 User Channels
Channel
Description
3. Identity Provider Architecture
3.1 Keycloak as Default IdP
3.2 Realm Design
Realm
Purpose
Why separate realms?
3.3 Client Configuration (Staff Realm)
Client
Type
Purpose
3.4 Token Structure
Important Claim: resource_access
resource_access4. IAM Service Architecture
4.1 Overview
Repository
4.2 API Components
API
Purpose
Status
4.3 Architectural Responsibilities
4.3.1 Authentication Orchestration
4.3.2 Token Mediation
4.3.3 RBAC Enforcement Support
4.4 IAM API Runtime Design
4.5 IAM Database Layer
Database Strategy
4.6 Data Model
4.6.1 Configuration Data (Staff Only)
4.6.2 Transactional Data
Data
Purpose
5. Product API Layer
5.1 Overview
5.2 API Structure
Product
Staff
Agent
Beneficiary
5.3 Responsibilities of Product APIs
6. End-to-End Authentication Flow
6.1 Login Flow (OIDC Authorization Code Flow)
Step-by-Step
6.2 SSO Behavior
7. Authorization Flow (RBAC Execution)
7.1 Flow Description
7.2 Key Design Choice
7.3 IAM Library Usage
8. Integration with Third-Party Applications
8.1 RBAC Model
Application Type
RBAC Ownership
8.2 Examples
App
RBAC
12. Design Principles
Last updated
Was this helpful?

