Skip to content

Manikumar-25/SSO-Federation-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Entra ID SSO Federation and OAuth/OIDC Authentication Lab

Overview

This project demonstrates enterprise Identity and Access Management (IAM) concepts using Microsoft Entra ID.

The lab focuses on implementing and analyzing:

  • SAML-based Single Sign-On (SSO)
  • Identity Federation
  • OpenID Connect (OIDC)
  • OAuth 2.0 authentication concepts
  • JWT token analysis
  • Claims-based identity
  • Enterprise application integration

The objective of this project is to simulate real-world IAM authentication workflows commonly used in enterprise environments.


Architecture Diagram

Architecture Diagram


Technologies Used

  • Microsoft Entra ID
  • SAML 2.0
  • OAuth 2.0
  • OpenID Connect (OIDC)
  • JWT Tokens
  • Enterprise Applications
  • App Registrations
  • jwt.ms
  • SAMLTest.id

Project Components

1. SAML Federation and Single Sign-On

Configured Microsoft Entra ID as the Identity Provider (IdP) and integrated a SAML-based Service Provider (SP) using samltest.id.

Implemented Concepts

  • Identity Provider (IdP)
  • Service Provider (SP)
  • SAML Assertions
  • Federation Trust
  • Single Sign-On (SSO)
  • Claims-Based Authentication

Activities Performed

  • Created enterprise application
  • Configured SAML settings
  • Configured Identifier and Reply URL
  • Assigned users to application
  • Tested SSO authentication flow
  • Validated federation functionality
  • Inspected SAML assertions using SAML-tracer

2. OAuth 2.0 and OpenID Connect (OIDC)

Configured modern token-based authentication using Microsoft Entra ID App Registrations.

Implemented Concepts

  • OAuth 2.0
  • OpenID Connect (OIDC)
  • JWT Tokens
  • Claims-Based Identity
  • Token Authentication
  • Redirect URI Validation

Activities Performed

  • Created App Registration
  • Configured Redirect URI
  • Enabled ID Token support
  • Performed OIDC authentication
  • Generated JWT ID token
  • Analyzed token claims using jwt.ms

JWT Claims Analyzed

The following JWT claims were reviewed during authentication testing:

Claim Description
aud Audience of the token
iss Token issuer
tid Tenant identifier
oid Unique object ID of user
preferred_username Authenticated user identity
nonce Replay attack protection
exp Token expiration timestamp

Key IAM Concepts Demonstrated

  • Identity Federation
  • Single Sign-On (SSO)
  • SAML Authentication
  • OpenID Connect (OIDC)
  • OAuth 2.0 Concepts
  • JWT Authentication
  • Claims-Based Identity
  • Token Security
  • Identity Provider (IdP)
  • Service Provider (SP)
  • Enterprise Authentication Flow

Learning Outcomes

Through this project, the following practical IAM skills were developed:

  • Configuring enterprise authentication workflows
  • Understanding SAML federation architecture
  • Analyzing JWT tokens and identity claims
  • Implementing OpenID Connect authentication
  • Understanding authentication vs authorization
  • Troubleshooting federation and authentication issues
  • Working with Microsoft Entra ID enterprise applications and app registrations

Screenshots

Screenshots demonstrating configuration steps and authentication validation are available in the /Screenshots directory.


Disclaimer

This project was created in a Microsoft Entra ID free-tier development environment for learning and demonstration purposes.

Some enterprise-grade security features such as Conditional Access require premium licensing and were studied conceptually where implementation was restricted.

About

IAM authentication lab implementing SAML SSO, identity federation, OAuth/OIDC authentication, JWT analysis, and Microsoft Entra ID enterprise integration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors