Explanation and walkthrough authn/authz for microservice system with a sample mobile-banking PoC.

The story in one paragraph

A client logs in via Keycloak (IdP) and gets a JWT. It calls the banking API through
Kong (gateway / PEP). Kong introspects the token with Keycloak, then asks OPA (PDP)
whether this caller may take this action. If allowed, Kong forwards the request to
banking-api-service (resource server), which independently re-validates the JWT before
returning data. alice can read only her own accounts; ops-admin can read any account.

Reading map

Part I — Foundations

Part II — Component Deep Dives

Part III — Token Mechanics

Part IV — Reference

Where to start

Design and planning docs

  • Docs reorganization — design
  • Docs reorganization — plan
  • Mobile-banking auth — design
  • Mobile-banking auth — plan
Logo

openEuler 是由开放原子开源基金会孵化的全场景开源操作系统项目,面向数字基础设施四大核心场景(服务器、云计算、边缘计算、嵌入式),全面支持 ARM、x86、RISC-V、loongArch、PowerPC、SW-64 等多样性计算架构

更多推荐