Oc Auth x Hydra x LDAP : draft of claims enrich for traefik + draft of forwarding

This commit is contained in:
mr
2024-10-28 14:58:11 +01:00
parent 05c4aab72a
commit 7198c40d30
37 changed files with 4181 additions and 610 deletions

View File

@@ -17,12 +17,17 @@ func init() {
ns := beego.NewNamespace("/oc",
beego.NSNamespace("/auth",
beego.NSInclude(
&controllers.AuthController{},
&controllers.OAuthController{},
),
),
beego.NSNamespace("/registration",
beego.NSNamespace("/role",
beego.NSInclude(
&controllers.RegistrationController{},
&controllers.RoleController{},
),
),
beego.NSNamespace("/permission",
beego.NSInclude(
&controllers.PermissionController{},
),
),
beego.NSNamespace("/version",
@@ -31,6 +36,5 @@ func init() {
),
),
)
beego.AddNamespace(ns)
}