You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Uwe Simon (Jira)" <ji...@apache.org> on 2021/06/13 18:53:00 UTC

[jira] [Created] (OPENMEETINGS-2628) Administration->OAuth2: Add groupUsers to "OM User attribute"

Uwe Simon created OPENMEETINGS-2628:
---------------------------------------

             Summary: Administration->OAuth2: Add groupUsers to "OM User attribute"
                 Key: OPENMEETINGS-2628
                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2628
             Project: Openmeetings
          Issue Type: Improvement
          Components: UI
    Affects Versions: 6.0.0, 5.1.0, 6.1.0
            Reporter: Uwe Simon
            Assignee: Maxim Solodovnik
         Attachments: setGroupUsers.txt

It should be possible to automatically add groups to an account registered in OAuth2.

Therefore "groupUsers" should be possible to be used in "OM User attribute" to add a list of roles/groups from the OAuth2->Userinfo.

Idea: In the OAuth2 (in my case Keycloak) the users and there teams are maintained. This should be used copied to Openmeetings when users registers.

Seems that only a method setGroupUsers has to be added (see attachment).

I used the configuration
 
|OM User attribute|OAuth User attribute| |
|firstname|given_name| |
|address.email|email| |
|login|email| |
|lastname|family_name| |
|groupUsers|resource_access.openmeetings.roles|

Additional Idea: 
Sync between OAuth2 source and Openmeetings, so that Names/Groups could be maintained in OAuth2 source only.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)