[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M751HD035B7QJJF1XF4FKD6X":3,"skill-same:01M751HD035B7QJJF1XF4FKD6X":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":37,"commitSha":38,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M751HD035B7QJJF1XF4FKD6X","implementing-saml-sso-with-okta",null,"Implement SAML 2.0 Single Sign-On (SSO) using Okta as the Identity Provider (IdP). This skill covers end-to-end configuration of SAML authentication flows, attribute mapping, certificate management, a","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: implementing-saml-sso-with-okta\ndescription: Implement SAML 2.0 Single Sign-On (SSO) using Okta as the Identity Provider (IdP). This skill covers end-to-end configuration of SAML authentication flows, attribute mapping, certificate management, a\ndomain: cybersecurity\nsubdomain: identity-access-management\ntags: [iam, identity, access-control, authentication, saml, sso, okta]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n# Implementing SAML SSO with Okta\n\n## Overview\nImplement SAML 2.0 Single Sign-On (SSO) using Okta as the Identity Provider (IdP). This skill covers end-to-end configuration of SAML authentication flows, attribute mapping, certificate management, and security hardening for enterprise SSO deployments.\n\n\n## When to Use\n\n- When deploying or configuring implementing saml sso with okta capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Familiarity with identity access management concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n- Configure Okta as a SAML 2.0 Identity Provider\n- Implement SP-initiated and IdP-initiated SSO flows\n- Map SAML attributes and configure assertion encryption\n- Enforce SHA-256 signatures and secure certificate rotation\n- Test SSO flows with SAML tracer tools\n- Implement Single Logout (SLO) handling\n\n## Key Concepts\n\n### SAML 2.0 Authentication Flow\n1. **SP-Initiated Flow**: User accesses Service Provider -> SP generates AuthnRequest -> Redirect to Okta IdP -> User authenticates -> Okta sends SAML Response -> SP validates assertion -> Access granted\n2. **IdP-Initiated Flow**: User authenticates at Okta -> Selects application -> Okta sends unsolicited SAML Response -> SP validates -> Access granted\n\n### Critical Security Requirements\n- **SHA-256 Signatures**: All SAML assertions must use SHA-256 (not SHA-1) for digital signatures\n- **Assertion Encryption**: Encrypt SAML assertions using AES-256 to protect attribute values in transit\n- **Audience Restriction**: Configure audience URI to prevent assertion replay across different SPs\n- **NotBefore\u002FNotOnOrAfter**: Enforce time validity windows to prevent stale assertion usage\n- **InResponseTo Validation**: Verify assertion corresponds to the original AuthnRequest\n\n### Okta Application Configuration\n- **Single Sign-On URL**: The ACS (Assertion Consumer Service) endpoint on the SP\n- **Audience URI (SP Entity ID)**: Unique identifier for the SP\n- **Name ID Format**: EmailAddress, Persistent, or Transient\n- **Attribute Statements**: Map Okta user profile attributes to SAML assertion attributes\n- **Group Attribute Statements**: Include group membership for RBAC\n\n## Workflow\n\n### Step 1: Create SAML Application in Okta\n1. Navigate to Applications > Create App Integration\n2. Select SAML 2.0 as the sign-on method\n3. Configure General Settings (App Name, Logo)\n4. Set Single Sign-On URL (ACS URL)\n5. Set Audience URI (SP Entity ID)\n6. Configure Name ID Format and Application Username\n\n### Step 2: Configure Attribute Mapping\n- Map `user.email` to `email` attribute\n- Map `user.firstName` and `user.lastName` to name attributes\n- Add group attribute statements for role-based access\n- Configure attribute value formats (Basic, URI Reference, Unspecified)\n\n### Step 3: Download and Install IdP Metadata\n- Download Okta IdP metadata XML\n- Extract IdP SSO URL, IdP Entity ID, and X.509 certificate\n- Install certificate on SP side for signature validation\n- Configure SP metadata with ACS URL and Entity ID\n\n### Step 4: Implement SP-Side SAML Processing\n- Parse and validate SAML Response XML\n- Verify digital signature using IdP certificate\n- Check audience restriction, time conditions, and InResponseTo\n- Extract authenticated user identity and attributes\n- Create application session based on assertion data\n\n### Step 5: Security Hardening\n- Enforce SHA-256 for all signature operations\n- Enable assertion encryption with AES-256-CBC\n- Configure session timeout and re-authentication policies\n- Implement SAML artifact binding for sensitive deployments\n- Set up certificate rotation procedure before expiry\n\n### Step 6: Testing and Validation\n- Use SAML Tracer browser extension for debugging\n- Validate SP-initiated and IdP-initiated flows\n- Test with multiple user accounts and group memberships\n- Verify SLO functionality\n- Test certificate rotation without downtime\n\n## Security Controls\n| Control | NIST 800-53 | Description |\n|---------|-------------|-------------|\n| Authentication | IA-2 | Multi-factor authentication through Okta |\n| Session Management | SC-23 | SAML session lifetime controls |\n| Audit Logging | AU-3 | Log all SSO authentication events |\n| Certificate Management | SC-17 | PKI certificate lifecycle management |\n| Access Enforcement | AC-3 | SAML attribute-based access control |\n\n## Common Pitfalls\n- Using SHA-1 instead of SHA-256 for SAML signatures\n- Not validating InResponseTo in SAML responses (replay attacks)\n- Clock skew between IdP and SP causing assertion rejection\n- Failing to restrict audience URI allowing assertion forwarding\n- Not implementing certificate rotation before expiry causes outage\n\n## Verification\n- [ ] SAML SSO login completes successfully via SP-initiated flow\n- [ ] IdP-initiated flow correctly authenticates users\n- [ ] SAML assertions use SHA-256 signatures\n- [ ] Attribute mapping correctly populates user profile\n- [ ] Session timeout forces re-authentication\n- [ ] SLO properly terminates sessions on both IdP and SP\n- [ ] Certificate rotation tested without service interruption\n","# Implementing SAML SSO with Okta\n\n## Overview\nImplement SAML 2.0 Single Sign-On (SSO) using Okta as the Identity Provider (IdP). This skill covers end-to-end configuration of SAML authentication flows, attribute mapping, certificate management, and security hardening for enterprise SSO deployments.\n\n\n## When to Use\n\n- When deploying or configuring implementing saml sso with okta capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Familiarity with identity access management concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n- Configure Okta as a SAML 2.0 Identity Provider\n- Implement SP-initiated and IdP-initiated SSO flows\n- Map SAML attributes and configure assertion encryption\n- Enforce SHA-256 signatures and secure certificate rotation\n- Test SSO flows with SAML tracer tools\n- Implement Single Logout (SLO) handling\n\n## Key Concepts\n\n### SAML 2.0 Authentication Flow\n1. **SP-Initiated Flow**: User accesses Service Provider -> SP generates AuthnRequest -> Redirect to Okta IdP -> User authenticates -> Okta sends SAML Response -> SP validates assertion -> Access granted\n2. **IdP-Initiated Flow**: User authenticates at Okta -> Selects application -> Okta sends unsolicited SAML Response -> SP validates -> Access granted\n\n### Critical Security Requirements\n- **SHA-256 Signatures**: All SAML assertions must use SHA-256 (not SHA-1) for digital signatures\n- **Assertion Encryption**: Encrypt SAML assertions using AES-256 to protect attribute values in transit\n- **Audience Restriction**: Configure audience URI to prevent assertion replay across different SPs\n- **NotBefore\u002FNotOnOrAfter**: Enforce time validity windows to prevent stale assertion usage\n- **InResponseTo Validation**: Verify assertion corresponds to the original AuthnRequest\n\n### Okta Application Configuration\n- **Single Sign-On URL**: The ACS (Assertion Consumer Service) endpoint on the SP\n- **Audience URI (SP Entity ID)**: Unique identifier for the SP\n- **Name ID Format**: EmailAddress, Persistent, or Transient\n- **Attribute Statements**: Map Okta user profile attributes to SAML assertion attributes\n- **Group Attribute Statements**: Include group membership for RBAC\n\n## Workflow\n\n### Step 1: Create SAML Application in Okta\n1. Navigate to Applications > Create App Integration\n2. Select SAML 2.0 as the sign-on method\n3. Configure General Settings (App Name, Logo)\n4. Set Single Sign-On URL (ACS URL)\n5. Set Audience URI (SP Entity ID)\n6. Configure Name ID Format and Application Username\n\n### Step 2: Configure Attribute Mapping\n- Map `user.email` to `email` attribute\n- Map `user.firstName` and `user.lastName` to name attributes\n- Add group attribute statements for role-based access\n- Configure attribute value formats (Basic, URI Reference, Unspecified)\n\n### Step 3: Download and Install IdP Metadata\n- Download Okta IdP metadata XML\n- Extract IdP SSO URL, IdP Entity ID, and X.509 certificate\n- Install certificate on SP side for signature validation\n- Configure SP metadata with ACS URL and Entity ID\n\n### Step 4: Implement SP-Side SAML Processing\n- Parse and validate SAML Response XML\n- Verify digital signature using IdP certificate\n- Check audience restriction, time conditions, and InResponseTo\n- Extract authenticated user identity and attributes\n- Create application session based on assertion data\n\n### Step 5: Security Hardening\n- Enforce SHA-256 for all signature operations\n- Enable assertion encryption with AES-256-CBC\n- Configure session timeout and re-authentication policies\n- Implement SAML artifact binding for sensitive deployments\n- Set up certificate rotation procedure before expiry\n\n### Step 6: Testing and Validation\n- Use SAML Tracer browser extension for debugging\n- Validate SP-initiated and IdP-initiated flows\n- Test with multiple user accounts and group memberships\n- Verify SLO functionality\n- Test certificate rotation without downtime\n\n## Security Controls\n| Control | NIST 800-53 | Description |\n|---------|-------------|-------------|\n| Authentication | IA-2 | Multi-factor authentication through Okta |\n| Session Management | SC-23 | SAML session lifetime controls |\n| Audit Logging | AU-3 | Log all SSO authentication events |\n| Certificate Management | SC-17 | PKI certificate lifecycle management |\n| Access Enforcement | AC-3 | SAML attribute-based access control |\n\n## Common Pitfalls\n- Using SHA-1 instead of SHA-256 for SAML signatures\n- Not validating InResponseTo in SAML responses (replay attacks)\n- Clock skew between IdP and SP causing assertion rejection\n- Failing to restrict audience URI allowing assertion forwarding\n- Not implementing certificate rotation before expiry causes outage\n\n## Verification\n- [ ] SAML SSO login completes successfully via SP-initiated flow\n- [ ] IdP-initiated flow correctly authenticates users\n- [ ] SAML assertions use SHA-256 signatures\n- [ ] Attribute mapping correctly populates user profile\n- [ ] Session timeout forces re-authentication\n- [ ] SLO properly terminates sessions on both IdP and SP\n- [ ] Certificate rotation tested without service interruption\n",{"name":5,"tags":25,"author":33,"domain":34,"license":15,"version":35,"subdomain":36,"description":7},[26,27,28,29,30,31,32],"iam","identity","access-control","authentication","saml","sso","okta","mahipal","cybersecurity","1.0","identity-access-management","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill implementing-saml-sso-with-okta",{"tool":49,"command":50},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill implementing-saml-sso-with-okta",{"tool":52,"command":53},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill implementing-saml-sso-with-okta","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002FSKILL.md",true,[57,63,67,73,77,81,87],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Ftemplate.md","ASSET","资产文件",4229,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002Fassets\u002Ftemplate.md",{"path":64,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fapi-reference.md","REFERENCE","参考文档",1663,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002Freferences\u002Fapi-reference.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fstandards.md",2170,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002Freferences\u002Fstandards.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fworkflows.md",3516,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002Freferences\u002Fworkflows.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fagent.py","SCRIPT","脚本",7789,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002Fscripts\u002Fagent.py",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fprocess.py",19707,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fimplementing-saml-sso-with-okta\u002Fscripts\u002Fprocess.py",[92,100,107,114,121,128],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":96,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":20},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]