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

Nextcloud Oauth2.0 groups are not recognized by Fab-Manager #486

Open
microbearlogist opened this issue Jun 11, 2024 · 2 comments
Open

Nextcloud Oauth2.0 groups are not recognized by Fab-Manager #486

microbearlogist opened this issue Jun 11, 2024 · 2 comments

Comments

@microbearlogist
Copy link

Our Fab-Manager instance uses Nextcloud's Oauth2.0 SSO.

When mapping Fab-manager's user/group_id value to Nextcloud's group field (ocs.data.groups), the response is as follows:

<ocs>
  <data>
    <groups>
     <element>admin</element>
     <element>group 1</element>
     <element>group 2</element>
      </groups>
  </data>
<ocs>

This results in the following value for Fab-Manager:
[« admin », « group 1 », « group 2 »]

As a result, the group selection field is grayed out (unselectable) and it is therefore impossible to validate the new user from the Oauth2.0 Nextcloud SSO.

@gnepud
Copy link
Member

gnepud commented Jun 12, 2024

Hi @microbearlogist

Fabmanager cannot match the group name; you need to retrieve the group ID from your SSO.

@microbearlogist
Copy link
Author

Thank you for this clarification @gnepud

Then unfortunately the actual Oauth2 implementation of Nextcloud do not provide anything else than group name. Maybe in a future update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants