identity-federation

Assess SAML, OIDC, and OAuth2 federation flows for misconfigurations and token confusion issues.

21|8|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/chengzongcai/reverse-skill-backup --skill identity-federation-chengzongcai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: identity-federation
Source: https://github.com/chengzongcai/reverse-skill-backup/tree/main/skills/identity-federation
Command: npx skills add https://github.com/chengzongcai/reverse-skill-backup --skill identity-federation-chengzongcai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Federated identity systems like SAML, OIDC, and OAuth2 are complex, and misconfigurations in SSO flows often go undetected until exploited. This Skill gives security assessors a repeatable methodology for mapping federation flows and systematically checking for signature, redirect, and token validation weaknesses during authorized engagements. ## Core Features & Use Cases - Protocol Flow Mapping: Guides mapping of the full User → SP → IdP → Token chain, including metadata collection from /.well-known/openid-configuration and SAML metadata endpoints. - Misconfiguration Checklist: Covers redirect_uri exact matching, state/nonce binding, PKCE for public clients, SAML signature coverage, and algorithm downgrade checks. - Tooling Guidance: Recommends Burp with SAML Raider for assertion editing, jwt_tool for JWT analysis, and browser DevTools for redirect chain inspection. - Use Case: During an authorized pentest of an enterprise SSO deployment, use this Skill to verify that the SP validates SAML signatures across the full response, that OIDC flows enforce PKCE, and that logout properly revokes sessions. ## Quick Start Assess the SAML and OIDC single sign-on configuration of the authorized target application for signature, redirect_uri, and token validation weaknesses.

Frequently Asked Questions about identity-federation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test SAML SSO for security misconfigurations?▼

Map the full User → SP → IdP → Token flow, collect SAML metadata, then check signature coverage across the response and assertions, algorithm downgrade possibilities, and session invalidation on logout. Tools like Burp Suite with the SAML Raider extension support authorized assertion editing.

What should I check in an OAuth2 or OIDC security assessment?▼

Verify redirect_uri exact-match whitelisting, state and nonce binding to prevent CSRF and replay, PKCE enforcement for public clients, and audience and issuer validation on tokens. Collect the /.well-known/openid-configuration document to map endpoints first.

What tools are used for SAML and JWT security testing?▼

Burp Suite with the SAML Raider extension handles SAML assertion editing in authorized tests, jwt_tool analyzes and attacks JWTs, and browser DevTools traces redirect chains. IdP administrative logs provide audit context for findings.

Does this assessment approach work with multi-tenant identity providers?▼

Yes, the methodology explicitly covers multi-tenant issuer confusion and IdP/SP metadata validation. It checks that each tenant's issuer and audience values are correctly validated to prevent cross-tenant token acceptance.

What are the limitations of SSO flow testing?▼

Testing must stay within authorized scope and avoid brute-force attempts that could lock real user accounts. Pure API-level JWT attacks are better handled by a dedicated API security methodology, and cloud-hosted IdP issues may require cloud-specific assessment.