🗑️ Remove directory service on identity
This commit is contained in:
parent
97995e464d
commit
caf75166a0
@ -2,6 +2,7 @@ package server
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
@ -11,7 +12,6 @@ func getMetadata(c *fiber.Ctx) error {
|
|||||||
"name": viper.GetString("name"),
|
"name": viper.GetString("name"),
|
||||||
"domain": viper.GetString("domain"),
|
"domain": viper.GetString("domain"),
|
||||||
"open_registration": !viper.GetBool("use_registration_magic_token"),
|
"open_registration": !viper.GetBool("use_registration_magic_token"),
|
||||||
"directory": viper.Get("directory"),
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,8 +32,3 @@ refresh_token_duration = 2592000
|
|||||||
[database]
|
[database]
|
||||||
dsn = "host=localhost dbname=hy_identity port=5432 sslmode=disable"
|
dsn = "host=localhost dbname=hy_identity port=5432 sslmode=disable"
|
||||||
prefix = "identity_"
|
prefix = "identity_"
|
||||||
|
|
||||||
[[directory]]
|
|
||||||
name = "Goatpass"
|
|
||||||
description = "Authorization Serivce"
|
|
||||||
link = "https://id.smartsheep.studio"
|
|
Loading…
Reference in New Issue
Block a user