From caf75166a05bcfbb7ee13dffbe466a28049db4ec Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 16 Mar 2024 14:47:16 +0800 Subject: [PATCH] :wastebasket: Remove directory service on identity --- pkg/server/well_known_api.go | 2 +- settings.toml | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/server/well_known_api.go b/pkg/server/well_known_api.go index 2bfde58..51b4634 100644 --- a/pkg/server/well_known_api.go +++ b/pkg/server/well_known_api.go @@ -2,6 +2,7 @@ package server import ( "fmt" + "github.com/gofiber/fiber/v2" "github.com/spf13/viper" ) @@ -11,7 +12,6 @@ func getMetadata(c *fiber.Ctx) error { "name": viper.GetString("name"), "domain": viper.GetString("domain"), "open_registration": !viper.GetBool("use_registration_magic_token"), - "directory": viper.Get("directory"), }) } diff --git a/settings.toml b/settings.toml index 838c216..909124d 100644 --- a/settings.toml +++ b/settings.toml @@ -32,8 +32,3 @@ refresh_token_duration = 2592000 [database] dsn = "host=localhost dbname=hy_identity port=5432 sslmode=disable" prefix = "identity_" - -[[directory]] -name = "Goatpass" -description = "Authorization Serivce" -link = "https://id.smartsheep.studio" \ No newline at end of file