canonical / canonical/authd

Feature: Remove spaces in group names that come from Entra

Open
#681 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
308
Forks
41
Avg merge
2d 4h
Merged PRs (30d)
58

Description

### Is there an existing request for this feature?

- [X] I have searched the existing issues and found none that matched mine

### Describe the feature

When using authd with Microsoft Entra ID, group names containing spaces are harder to work with in Linux terminals.
A good solution would be to automatically replace spaces (" ") with dashes ("-") in group names retrieved from Entra.

Example: My Group Name → my-group-name

Also to provide backwards compatibility, configuration option could be added in authd.yaml to enable or disable this transformation (e.g., transform_group_names = true).

### Describe the ideal solution

_No response_

### Alternatives and current workarounds

_No response_

### System information and logs

_No response_

### Relevant information

_No response_

### Double check your logs

- [X] I have redacted any sensitive information from the logs

Contributor guide

Open the contributing guide

Research direction

Start by locating where authd retrieves group names from Microsoft Entra and how authd.yaml configuration is defined. Determine how the space-to-dash transformation should interact with existing names and verify that the configuration can enable or disable it without breaking backwards compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.