DeployBoard / DeployBoard/deployboard-python
Implement Okta allowed_groups and allowed_domains
- 主要语言
- Python
- 星标
- 10
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Is your feature request related to a problem? Please describe.**
We can support additional security around Okta auth by implementing `allowed_groups` and `allowed_domains`.
This would restrict who can even log into the application, although personally, I don't think there is any reason to deny anyone in your organization access to DeployBoard, but that's not my call to make about your org, so we'd like to support the option at least.
**Describe the solution you'd like**
After the Okta Oauth2 workflow, we retrieve the user's info and check if they are in any of the `allowed_groups` in the config.
We additionally would check the Okta domain the request is coming from to verify the domain matches the `allowed_domains` list. I kinda think this one is a bit redundant, since we require you to put the Okta client and secret in the config, so that should always match the domain associated with that client right? We're planning to support it anyway.
**Describe alternatives you've considered**
None
**Additional context**
None
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先,通过用户信息获取和配置处理来跟踪 Okta OAuth2 工作流。确定在身份验证后应如何表示和检查 allowed_groups 与 allowed_domains;完成的标准是,配置的组或域之外的用户无法登录,而获准的用户可以继续操作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- authentication, backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100