added redirect uris to web clients

This commit is contained in:
FominykhDG 2024-12-27 17:22:01 +03:00
parent b36a8e2ec1
commit 67a303a381

View file

@ -32,8 +32,8 @@ func main() {
storage.RegisterClients(
storage.NativeClient("native", cfg.RedirectURI...),
storage.WebClient("web", "secret"),
storage.WebClient("api", "secret"),
storage.WebClient("web", "secret", cfg.RedirectURI...),
storage.WebClient("api", "secret", cfg.RedirectURI...),
)
// the OpenIDProvider interface needs a Storage interface handling various checks and state manipulations