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

OIDC Azure issue #186

Open
MaksymBilenko opened this issue Dec 1, 2022 · 3 comments
Open

OIDC Azure issue #186

MaksymBilenko opened this issue Dec 1, 2022 · 3 comments

Comments

@MaksymBilenko
Copy link

Hello,
I'm having this config

...
      scopes:
        - openid
        - email
        - profile
      claimMapping:
        admin: "'WireguardAdmins' in group_membership"

Also WireguardAdmins group in my OIDC provider (Azure). When I'm tring ti sign in - I'm getting that error:
No parameter 'group_membership' found.

@MaksymBilenko
Copy link
Author

The issue is that with azure token returns groups with value in double array:
map[amr:["pwd","mfa"] family_name:Bilenko given_name:Maksym groups:[["6287e903-8c1f-42fe-8d3d-36e4e7155d5f","0de42929-8f96-4215-9e92-89cd32cfdf76","d4795a7f-2823-4274-8af8-ee83b664f777","2e293763-0fdd-4d2c-9a34-049f9048ae9d"]] ipaddr:62.4.34.189 name:Maksym Bilenko ...

@MaksymBilenko
Copy link
Author

Can't find the way to compare group ID with double array value of groups

@MaksymBilenko MaksymBilenko changed the title No parameter 'group_membership' found. OIDC Azure issue Dec 5, 2022
@awlx
Copy link

awlx commented Feb 12, 2023

The maintained fork is here:
https://github.com/freifunkMUC/wg-access-server

alexandre-abrioux pushed a commit to alexandre-abrioux/wg-access-server that referenced this issue Jun 20, 2023
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