Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved docs for mappings. #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hschletz
Copy link

@hschletz hschletz commented Aug 2, 2021

  • The instructions for quota and groups were mixed up. They are now separated into distinct paragraphs.
  • Added Instructions for role creation/assignment and added a note about the relationship between roles and groups.

@hschletz hschletz mentioned this pull request Aug 2, 2021
@marc-farre
Copy link

Thanks.
If it can help, I've successfully synced Keycloak groups this way (I didn't create the custom ownCloudGroups mapper, I create the built in groups mapper instead):

On Keycloak, in the client mappers, add the built in "groups" attribute.
This "groups" attribute must be in the config file, in oidc_login_attributes.
And set 'oidc_create_groups' => true,

On Keycloak, for each group:

  • Create a role with the same name (Configure -> Roles)
  • Edit the group (Manage -> Groups) -> Roles Mapping: add the role

On Nextcloud, admin group cannot be renamed.
So if you have an admin group called, e.g. Administrators, create the role admin and map it to Administrator group.

@pulsejet pulsejet added the documentation Improvements or additions to documentation label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants