
IAM); What you can do (AC); How you access resources securely across systems (OAuth)?
IAM confirms who they are with MFA.Access Control lets them view project schedules but not financial data.OAuth to access a partner’s document system without re‑entering credentials.A set of attributes that describe an entity (person, organisation, system, process).

| Entity | Person, organisation, system, session, or process. |
| Identity | Attributes for an entity in a specific domain. Can exist in multiple domains or as multiple identities in one domain. |
| Digital Identity | Electronic form of identity attributes. |
| Names & Attributes | May be unique or shared, temporary or permanent, self‑defined or authority‑defined. |
| Identifier | Unique name or value within a namespace. |
---------------------------------------
|
|
|
|
Scenario
Your orginisation uses a silo-based IAM model.
Discussion Questions
| Risk Area | Implication |
|---|---|
| Isolation | Breaches contained within one silo, limiting spread. |
| User Behaviour | Password reuse across silos increases vulnerability; multiple logins weaken password practices. |
| Operational | Poor scalability for many services; higher admin overhead. |
| Security Trade-Off | Strong privacy protection VS. reduced usability and increased risk from poor user habits. |
Same user ID recognised by multiple Service Providers (SPs), with authentication handled by a separate Identity Provider (IdP).
|
User: Has a user ID and authenticator(s). Wants to use services from different SPs. Service Provider (SP): Also called Relying Party. Maintains a register of user IDs. Has an agreement with one or more IdPs for user authentication. Authentication Server (IdP): Has agreements with SPs. Provides or sells authentication as a service to SPs. |
|
Cont'd
|
|
Example: Eduroam Wi‑Fi
IAM is implemented using open standards and protocols that provide secure, interoperable, and scalable authentication and authorisation across systems.
| Layer | Purpose | Common Standards / Protocols |
|---|---|---|
| Authorisation Control | Enables secure access to resources without sharing passwords. |
OAuth 2.0 |
| Identity Federation | Allows users to access multiple systems with a single identity (SSO). |
SAML 2.0, OpenID Connect (OIDC) |
| Directory & Policy Management | Defines and enforces user identities, roles, and permissions. |
LDAP, RBAC, ABAC |
Note: Early IAM systems relied on SAML for identity federation.
Modern IAM adopts OAuth 2.0 and OpenID Connect (OIDC) for API-driven, cloud-based environments.
authorisation - “Allow this app to access my data.”authentication and federation between identity and service providers.authentication on top of OAuth 2.0 for verifying identity. Giveing a badge.Together, these protocols enable secure Single Sign-On (SSO), API access control, and federated identity across platforms and organisations.
It is an authorisation framework that allows applications to act on behalf of users without sharing their credentials.
|
|
OIDC builds on OAuth to verify who the user is.
|
Definition: A federation protocol within Identity and Access Management (IAM) enabling secure user authentication across multiple domains.
|
|
| 1 | Client requests access from the Service Provider (SP). |
| 2 | SP shows a list of trusted Identity Providers (IdPs). |
| 3 | User selects an IdP. |
| 4 | SP redirects the client to the IdP’s authentication endpoint. |
| 5 | Client sends authentication request with scope=openid. |
| 6 | IdP prompts for login credentials. |
| 7 | User provides credentials (password, MFA, etc.). |
| 8 | Credentials sent to IdP for verification. |
| 9 | IdP validates the credentials. |
| 10 | IdP issues an ID Token to the client. |
| 11 | Client sends ID Token to the SP. |
| 12 | SP verifies the ID Token and grants access. |
| 13 | Federation trust agreements underpin the process. |
A JSON Web Token (JWT) consists of three parts, separated by dots:
| Header | Specifies the algorithm and token type. | { "alg": "HS256", "typ": "JWT" } |
| Payload | Contains the user data (claims). | { "user": "Ali", "role": "Admin" } |
| Signature | Verifies the token’s integrity and authenticity. | HMACSHA256(base64(header) + "." + base64(payload), secret) |
Each part is Base64URL-encoded and combined as:
xxxxx.yyyyy.zzzzzThe app decodes the payload to identify the user, and verifies the signature to ensure it hasn’t been altered.
| Step | Description |
|---|---|
| 1 | User requests a service from the Service Provider (SP). |
| 2 | SP redirects the browser to the Identity Provider (IdP) for authentication. |
| 3 | IdP displays login window (optionally with passkey challenge). |
| 4 | User presents authenticator(s) to the client (optionally with biometrics). |
| 5 | Authenticator(s) sent to IdP (optionally with passkey response). |
| 6 | IdP verifies authenticator(s) and sends ID Token to SP via client. |
| 7 | SP verifies ID Token and grants access according to policy. |


| Namespace/idP | Authentication | Examples | Notes |
|---|---|---|---|
| Centralised | Centralised | France Identité, German eID, Singpass (Singapore), Nigerian eID | Namespace and IdP managed by a single authority (e.g., government). Strong legal control. |
| Distributed | Centralised | FEIDE (Norway), Eduroam | User IDs defined locally (e.g., institutions) but authentication only at the home organisation. |
| Centralised | Distributed | e-Pramaan (India), Norwegian ID Portal | Single namespace but multiple IdPs handle authentication. Aadhaar is main IdP in India. |
| Distributed | Distributed | Social network IdPs (Google, Apple, Facebook, Microsoft), eIDAS 2 (planned), Australian Digital ID System | Multiple namespaces and multiple IdPs. Higher flexibility but more complex trust and governance. |

|
Problem:
Risks:
Mitigation:
|
|
| Standard | Description | Notes |
|---|---|---|
| OAuth (Open Authorization) | An open standard for token-based access control, allowing resources to be accessed without sharing credentials. | Often used for authorisation, not authentication. |
| OIDC (OpenID Connect) | An identity layer built on top of OAuth to provide authentication in addition to authorisation. | Modern standard replacing SAML in many federations. |
| SAML (Security Assertion Markup Language) | An XML-based standard for exchanging authentication and authorisation data between IdPs and SPs. | Previously widespread; many IdPs and SPs are switching to OIDC. |
| Advantages | Disadvantages |
|---|---|
Better usability. |
Technical and legal complexity. |
Allows SPs to focus on services, eliminating the need to manage authenticators. |
Trust requirements between actors; each actor can potentially compromise security. |
Allows IdPs to gather usage pattern information for users. |
Privacy issues from large-scale data collection and exchange between SP and IdP. |
Scales well within a sector and provides good quality authentication. |
Limited scalability between sectors/domains due to political and economic constraints. |
| A federated domain can become a silo in relation to other domains. |




4. Would you recommend moving to a federated IAM model? Why or why not?
Left side: Descriptions
Right side: Single merged image
Left side: Text
Right side: Image
Left: Text
Right: Image
Left: Text
Right: Image