-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add Okta SAML Federation authentication (M2.3) #26
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add Okta SAML Federation as an authentication method, allowing users who authenticate through Okta to assume AWS roles via SAML assertions.
Details
- Implement Okta API authentication (username/password) in
internal/auth/ - Handle MFA challenge for all Okta-supported factors (Push, TOTP, SMS, etc.)
- Retrieve SAML assertion from Okta → call
sts:AssumeRoleWithSAML - Cache Okta session token for reuse
- Add
okta_samlauth type to context configuration
Checklist
- Add
okta_samlauth type tointernal/config/config.go - Implement Okta API client in
internal/auth/okta.go - Handle MFA challenge/response flow
- Implement SAML assertion parsing and
sts:AssumeRoleWithSAMLcall - Add Okta session token caching
- Add TUI context-add wizard fields for Okta (org URL, app ID)
- Update
internal/auth/auth.goPostSwitch to handle okta_saml type - Write tests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request