feat: add redirect URI-s ENV setting to web clients (#693)

Co-authored-by: FominykhDG <FominykhDG@cloudx.group>
This commit is contained in:
Danila Fominykh 2025-01-03 11:27:01 +03:00 committed by GitHub
parent 8d971dcad8
commit a0f67c0b4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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