Skip to content

Conversation

pianosaurus
Copy link
Contributor

Add group synchronization for Entra ID (aka. Azure AD)

Azure AD is now called Entra, hence the name of the auth module.

This is a copy-paste of the code used from generic OAuth2, except the group claim name is always "groups". This is not configurable in Entra, so no configuration is needed here either. It solves #1874 for the Azure module, as others have already done for SAML and OIDC.

User how-to

  1. Enable the "groups" claim in Entra under App Registrations ("Token configuration" -> "Add groups claim").
  2. Edit the Azure auth module in Wiki.js, and enable the new setting ("Map groups").
  3. Create the groups in Wiki.js.
  4. Groups are mapped during the auth process, so users have to log in again.

@auto-assign auto-assign bot requested a review from NGPixel August 11, 2025 15:07
@NGPixel NGPixel merged commit c093423 into requarks:main Aug 13, 2025
@NGPixel
Copy link
Member

NGPixel commented Aug 13, 2025

Thanks!

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.

3 participants