apache / apache/answer-plugins

Load roles from OAuth2

未关闭
#285 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature
主要语言
Go
星标
131
派生
75
PR 合并指标
30 天内没有已合并 PR

描述

I'm managing all users with SSO/OIDC/OAuth2 provider and there I also have groups/roles etc.

It looks like currently using `connector-basic` plugin it's not possible to load roles like Admin/Moderator from OAuth2 provider. This means after each user logins I would have to assign them that manually.

In my provider it has them like this:
```
"groups": [
"Administrators"
]
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 payload 只提到了 connector-basic 插件和一个 OAuth2/OIDC provider group claim,没有文件或测试。首先定位插件的登录和 claims-mapping 入口,然后明确 `groups` 值应如何映射到 Apache Answer 角色;当 Administrators 等角色能够在登录时无需手动分配即可加载时,就算完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
authentication, authorization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。