Application & Provider Created Events #1

Open
opened 2026-09-13 15:56:53 -04:00 by lillith · 1 comment
Owner

Provider:

{
    "user": {
        "pk": 41,
        "email": "lillithrose@abyssalfragments.org",
        "username": "forestofroses"
    },
    "action": "model_created",
    "app": "authentik.events.middleware",
    "context": {
        "model": {
            "pk": 6,
            "app": "authentik_providers_oauth2",
            "name": "Provider for <Application Name>",
            "model_name": "oauth2provider"
        },
    }
}

Application:

{
    "user": {
        "pk": 41,
        "email": "lillithrose@abyssalfragments.org",
        "username": "forestofroses"
    },
    "action": "model_created",
    "app": "authentik.events.middleware",
    "context": {
        "model": {
            "pk": "asdjuasuoisdamuiasdhgia",
            "app": "authentik_core",
            "name": "<Application Name>",
            "model_name": "application"
        }
    }
}```
Provider: ```json { "user": { "pk": 41, "email": "lillithrose@abyssalfragments.org", "username": "forestofroses" }, "action": "model_created", "app": "authentik.events.middleware", "context": { "model": { "pk": 6, "app": "authentik_providers_oauth2", "name": "Provider for <Application Name>", "model_name": "oauth2provider" }, } } ``` Application: ```json { "user": { "pk": 41, "email": "lillithrose@abyssalfragments.org", "username": "forestofroses" }, "action": "model_created", "app": "authentik.events.middleware", "context": { "model": { "pk": "asdjuasuoisdamuiasdhgia", "app": "authentik_core", "name": "<Application Name>", "model_name": "application" } } }```
Author
Owner

can probby reuse my user create code as thats off model_created

can probby reuse my user create code as thats off model_created
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
services/authentik2discord#1
No description provided.