authentik

分类: 测试与安全 | 上传者: westonwrzwestonwrz | 下载: 0 | 版本: v1.0(最新)

Design, secure, and operate authentik-based OIDC integrations for production systems. Use for application/provider setup, scopes and claims mapping, redirect URI policy, token/session lifetime decisions, signing key management, and incident-ready operations. --- # Authentik ## Workflow 1. Confirm identity architecture, trust boundaries, and app risk profile. 2. Model tenants, applications, and OAuth2/OIDC providers. 3. Configure redirect URI policy and client type correctly. 4. Define scopes, claims/property mappings, and subject strategy. 5. Set token/session lifetimes aligned with threat model. 6. Validate metadata, login/logout flows, and key rotation behavior. 7. Operationalize monitoring, audit logs, and recovery runbooks. ## Preflight (Ask / Check First) - Authentik version and deployment mode. - Public vs confidential client usage. - Required claims and group/role mapping expectations. - Session and token lifetime requirements. - TLS, reverse-proxy, and domain model. ## Provider and Application Modeling - Create one provider per application trust boundary. - Choose `client_type` correctly (`public` vs `confidential`). - Keep redirect URI matching strict unless a strong regex case exists. - Separate human login apps from machine-to-machine access paths. - Keep issuer mode explicit per provider where needed. ## Scopes, Claims, and Subject Design - Minimize default scopes; add optional scopes intentionally. - Use property mappings to control claim release. - Preview claims per user before production enablement. - Prefer stable subject strategy for downstream account linking. - Avoid overloading ID tokens with unnecessary claims. ## Token and Session Security - Keep access token validity short. - Scope refresh token lifetime to business need. - Require strong signing key hygiene and rotation procedures. - Validate logout/end-session endpoints for all relying parties. - Protect client secrets in secret stores, never in repo config. ## Integration Guardrails - Vali

更新日志: Source: GitHub https://github.com/westonwrz/codex-skills-by-codex

目录结构

当前层级: authentik/

SKILL.md

登录后下载/点赞/收藏 ❤ 2 | ★ 0
评论 0

请先登录后评论。

还没有评论,快来第一个发言吧。