f9ad102915
* flows: add initial inspector Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: change naming a bit Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * web/flow: add inspector frame Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * core: don't use shadydom when inspecting Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: add current stage to api Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * stages/*: fix imports Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: deep-copy plan instead of just adding Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * web/flows: ui Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: restrict inspector to admin Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * web/admin: add buttons to launch flow with inspector Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * web/flows: don't automatically follow redirects when inspector is open Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: make current_plan optional, only require historry Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * web/flows: handle error messages in inspector Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * web/flows: improve UI when flow is done Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: add is_completed flag to inspector Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: fix monkeypatches for tests Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * flows: add inspector tests Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * ci: re-enable cache Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
25 lines
724 B
Python
25 lines
724 B
Python
"""flow urls"""
|
|
from django.urls import path
|
|
|
|
from authentik.flows.models import FlowDesignation
|
|
from authentik.flows.views.executor import CancelView, ConfigureFlowInitView, ToDefaultFlow
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"-/default/authentication/",
|
|
ToDefaultFlow.as_view(designation=FlowDesignation.AUTHENTICATION),
|
|
name="default-authentication",
|
|
),
|
|
path(
|
|
"-/default/invalidation/",
|
|
ToDefaultFlow.as_view(designation=FlowDesignation.INVALIDATION),
|
|
name="default-invalidation",
|
|
),
|
|
path("-/cancel/", CancelView.as_view(), name="cancel"),
|
|
path(
|
|
"-/configure/<uuid:stage_uuid>/",
|
|
ConfigureFlowInitView.as_view(),
|
|
name="configure",
|
|
),
|
|
]
|