[
https://issues.apache.org/jira/browse/OPENMEETINGS-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545352#comment-17545352
]
Maxim Solodovnik commented on OPENMEETINGS-2628:
------------------------------------------------
[~uwesimon] could you please provide example JSON (the answer of userinfo) with
groups?
> 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: 5.1.0, 6.0.0, 6.1.0
> Reporter: Uwe Simon
> Assignee: Maxim Solodovnik
> Priority: Minor
> 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.20.7#820007)