Allow OAUTH2 JWT scope attribute condition to authorization policy
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go
- 领域
- api, authorization, security
调研方向
从 Istio authorization API 和 issue 中链接的条件参考开始,重点关注现有的 request.auth.claims 条件。确定 request.auth.scope 的预期语义及其与 OAuth2 scope 验证的交互;完成的标准是 API 支持基于 scope 的授权条件,并具有文档化的行为和适当的验证。
由索引模型根据 Issue 内容生成。
描述
(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
istio authorization api support scope attribute in conditions.
These are the currently supported conditions -->
https://istio.io/latest/docs/reference/config/security/conditions/
It support claims. But not scopes
Describe alternatives you've considered
I can use claims in the JWT token and use claims matching , however in OAUTH2 standards scope is the correct way to describe if the token is allowed access to a particular resourse.
These are the list of support condition attributes
https://istio.io/latest/docs/reference/config/security/conditions/
There is request.auth.claims. I would like to also have Istio support request.auth.scope as auth policy condition.
I understand OPA policy evaluation supports scope, but it makes sense to add scope validation within Istio's own Authorization policy since claim verification is already supported.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ X] Security
[ ] Test and Release
[ ] User Experience
Additional context
- 主要语言
- Go
- 星标
- 523
- 派生
- 623
- 平均合并
- 5 天 20 小时
- 30 天内合并 PR
- 4
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
istio/api 的其他 Issue
-
Gateway CRD accepts both credentialName and tlsCertificates in server TLS settings可能已有人在做 @RaphaelFakhri 于 23 天前认领。 未关闭area/networking area/user experience
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
area/user experience kind/docs kind/enhancement
难度 5/5 一周以上 新手友好度 40/100
维护者通常 1 天内回复
-
area/networking area/user experience kind/docs kind/enhancement
难度 5/5 一周以上 新手友好度 45/100
维护者通常 1 天内回复
-
[release-1.29] change default of statsCompression to true可能重新可做 @keithmattix 于 304 天前认领,目前没有进行中的 PR。 未关闭
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
bug raised-by:verifier to:worker
难度 2/5 1-3 小时 新手友好度 88/100
medici-finance/assay#7835 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
golang-malawi/qatarina#496 ·
维护者通常 2 天内回复
-
hive size:simple
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
documentation stage:review
难度 1/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
Type/Bug
难度 2/5 1-3 小时 新手友好度 82/100
wso2/identity-customer-data-service#430 ·
维护者通常 1 天内回复