gerrit-oauth-provider icon indicating copy to clipboard operation
gerrit-oauth-provider copied to clipboard

Role mapping?

Open kallisti5 opened this issue 1 year ago • 2 comments

Is there anyway to map oauth2 roles to groups in gerrit?

kallisti5 avatar Sep 29 '23 19:09 kallisti5

This wasn't done yet.

davido avatar Oct 15 '23 08:10 davido

Hi, Any updates on this? I'm trying to use Authentik Oauth2 as a replacement for LDAP. I successfully configured Gerrit Oauth2 authentification (using this commit - https://gerrit.googlesource.com/plugins/oauth/+/b27cf3ea820eec2ddd22d217fc839261692ccdb0), but I can't find how to use Authentik groups in Gerrit to manage permissions. In the case of LDAP, I was able to use LDAP groups for that. Is there a way to do the same using Oauth2? Also, I tried to configure OpenID SSO auth on Gerrit with Authentik, but without success. Maybe it's not supported? @davido can you help me with these answers?

itreers avatar Aug 29 '24 12:08 itreers