feat: link local library

This commit is contained in:
gabdevele
2026-06-17 20:43:56 +02:00 Unverified
parent 9a770a2af0
commit db59882f33
327 changed files with 22274 additions and 1 deletions
@@ -0,0 +1,39 @@
"""acsia_agent_proj URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/4.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.conf import settings
from django.urls import path
from .views import (
entity_configuration,
historical_keys,
resolve_entity_statement
)
_PREF = getattr(settings, "OIDC_PREFIX", "")
urlpatterns = [
path(
f"{_PREF}.well-known/openid-federation",
entity_configuration,
name="entity_configuration",
),
path(f"{_PREF}resolve", resolve_entity_statement, name="oidcfed_resolve"),
path(
f"{_PREF}.well-known/openid-federation-historical-jwks",
historical_keys,
name="oidcfed_historical_keys"
)
]