Skip to content

regex detection of groups claims has bugs. Groups are missing after login #1215

@Wikinaut

Description

@Wikinaut
  • Nextcloud 31.0.8 (hosted at Hetzner)
  • OIDC 8.0.0

Detection of groups claims has apparently bugs. It is difficult to find out at which step.

Our OIDC provider sends these groups to Nextcloud as OIDC client:

ABC_HAUPTKATEGORIE_\u00FC\u0020\u0028Herr\u0029,ABC_UNTERKATEGORIE_\u0020Berlin,ABC_AMT_99\u0020Team

Not all groups were taken or updated, at the moment, it looks not reliable.

Groups REGEX:

  1. /^ABC_(HAUPTKATEGORIE|UNTERKATEGORIE|AMT)_/

After detecting that a group is missing then I used the following wider REGEX:
2. /^ABC_/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions