
* rework Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add loading overlay for chrome Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start docs Signed-off-by: Jens Langhammer <jens@goauthentik.io> * Apply suggestions from code review Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com> Signed-off-by: Jens L. <jens@beryju.org> * save data Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix web ui, prevent deletion Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * text fixes Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Jens L. <jens@beryju.org> Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
25 lines
779 B
Python
25 lines
779 B
Python
"""Enterprise additional settings"""
|
|
|
|
from celery.schedules import crontab
|
|
|
|
from authentik.lib.utils.time import fqdn_rand
|
|
|
|
CELERY_BEAT_SCHEDULE = {
|
|
"enterprise_update_usage": {
|
|
"task": "authentik.enterprise.tasks.enterprise_update_usage",
|
|
"schedule": crontab(minute=fqdn_rand("enterprise_update_usage"), hour="*/2"),
|
|
"options": {"queue": "authentik_scheduled"},
|
|
}
|
|
}
|
|
|
|
TENANT_APPS = [
|
|
"authentik.enterprise.audit",
|
|
"authentik.enterprise.providers.google_workspace",
|
|
"authentik.enterprise.providers.microsoft_entra",
|
|
"authentik.enterprise.providers.rac",
|
|
"authentik.enterprise.stages.authenticator_endpoint_gdtc",
|
|
"authentik.enterprise.stages.source",
|
|
]
|
|
|
|
MIDDLEWARE = ["authentik.enterprise.middleware.EnterpriseMiddleware"]
|