goauthentik / goauthentik/authentik
Sources do not create model events
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 644
Description
### Describe the bug
When importing users from LDAP no user create event is triggered.
This is in contradiction with the docs [here](https://github.com/goauthentik/authentik/commit/dedf977eeae3191f5ea380979d2fc5f34389b61d):
> This expression policy sends a welcome email to a user when their account is created through an enrollment flow, the Admin interface, the API, or **a source sync.**
### How to reproduce
1. Create an ldap source
2. Run the sync
3. Check for events.
### Expected behavior
LDAP imports should create model created / modified events.
### Screenshots
_No response_
### Additional context
_No response_
### Deployment Method
Kubernetes
### Version
2025.12
### Relevant log output
```shell
```
Contributor guide
Research direction
Reproduce the issue by creating an LDAP source, running a sync, and checking the resulting events. Trace the source-sync path and compare it with the documented behavior for model created and modified events. Done means LDAP imports emit the expected events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100