Resolve Feishu names by verified open ID and scope VPN member access

This commit is contained in:
Codex committed 2026-10-23 02:02:52 +08:00
1 parent 578a58a129
commit d4eddf7365
19 files changed
+837 -35

No files matched your search

+5
View File
@@ -313,6 +313,11 @@ func (s *Server) RegisterRoutes(r *gin.Engine) {
admin.POST("/system/fix", s.systemFix)
admin.GET("/system/tls", s.tlsStatus)
admin.GET("/system/identity", idp.Status)
admin.GET("/system/identity/profiles", idp.Profiles)
admin.POST("/system/identity/directory-check", idp.DirectoryCheck)
admin.GET("/tunnels/:id/feishu-grants", idp.Grants)
admin.POST("/tunnels/:id/feishu-grants", idp.AddGrant)
admin.DELETE("/tunnels/:id/feishu-grants/:grant_id", idp.DeleteGrant)
admin.POST("/system/identity/tenant", idp.QueryTenant)
admin.PUT("/system/identity", idp.Configure)
admin.POST("/system/identity/gateway", identityprovider.SecureGateway(), s.identityGateway)