This is a Authentik Expression Policy to assign groups based on slack channel membership.
Prerequisites:
- Get the slack channel identifiers from the channels you want to use as a group membership source. You can get these by rightclicking on a channel in slack, "View channel details" and then find the Channel ID at the bottom of the popup.
- Create groups in your authentik directory and add the
id
attribute containing a slack channel identifier.