apache / apache/answer-plugins

Load roles from OAuth2

Open
#285 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
Go
Stars
131
Forks
75
PR merge metrics
No merged PRs in 30d

Description

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"
]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The payload names only the connector-basic plugin and an OAuth2/OIDC provider group claim, with no files or tests. Start by locating the plugin’s login and claims-mapping entry points, then clarify how the `groups` value should map to Apache Answer roles; done means roles such as Administrators are loaded at login without manual assignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.