Skip to content

Conversation

@nilicule
Copy link
Contributor

Refactor group scope handling to support both string and array

Updated the logic to handle group scopes as either a single string or an array of values. This improves flexibility and ensures proper error handling for unsupported types.

To reproduce:

  • when setting up oAuth, check 'restrict to groups'
  • set scope identifier to 'email'
  • set Authorised groups to '*@mydomain.com'

Refactor group scope handling to support both string and array

Updated the logic to handle group scopes as either a single string or an array of values. This improves flexibility and ensures proper error handling for unsupported types.
@Forceu Forceu merged commit ba54607 into Forceu:master May 19, 2025
1 check passed
@Forceu
Copy link
Owner

Forceu commented May 19, 2025

Thank you for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants