oid configuration hotfix

This commit is contained in:
2024-07-23 19:23:13 +02:00
parent 92aabc0086
commit ed437ec367

View File

@@ -26,6 +26,10 @@ var (
)
func Configure() {
if !config.Instance().UseOpenId {
return
}
provider, err := oidc.NewProvider(context.Background(), config.Instance().OpenIdProviderURL)
if err != nil {
panic(err)