DefGuard / DefGuard/defguard

[Entra] Display correct error when creating account not included in configuration

Open
#3,638 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
2.8k
Forks
115
Avg merge
1d 4h
Merged PRs (30d)
51

Description

When user group is not included in "Synchronize users only from specified groups" field, logging in will result in error without any information for user.

https://github.com/user-attachments/assets/bbec3b83-bd19-4d1f-9ae6-06f5b1567ad0

We should add appropiate information like we do in similar case with Google.

Image

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Entra login path for users excluded by the configured groups with the similar Google case referenced in the issue. Add equivalent user-facing error information for the excluded-account condition, then verify that login produces the appropriate message instead of an uninformative error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.