From 0b762b9dea4a5999f30736b07e6e8ea4937e2660 Mon Sep 17 00:00:00 2001 From: Or Toren Date: Wed, 22 Jan 2025 14:55:02 +0200 Subject: [PATCH] set url --- utils/config/config.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/utils/config/config.go b/utils/config/config.go index fe5618e87..70367a864 100644 --- a/utils/config/config.go +++ b/utils/config/config.go @@ -713,13 +713,15 @@ func (serverDetails *ServerDetails) GetApplicationKey() string { } func (serverDetails *ServerDetails) CreateApplicationAuthConfig() (auth.ServiceDetails, error) { - ascAuth := applicationAuth.NewApplicationDetails() - return serverDetails.createAuthConfig(ascAuth) + appAuth := applicationAuth.NewApplicationDetails() + appAuth.SetUrl(serverDetails.Url) + return serverDetails.createAuthConfig(appAuth) } func (serverDetails *ServerDetails) CreateUnifiedPolicyAuthConfig() (auth.ServiceDetails, error) { - ascAuth := unifiedpolicyAuth.NewUnifiedPolicyDetails() - return serverDetails.createAuthConfig(ascAuth) + upAuth := unifiedpolicyAuth.NewUnifiedPolicyDetails() + upAuth.SetUrl(serverDetails.Url) + return serverDetails.createAuthConfig(upAuth) } func (serverDetails *ServerDetails) CreateArtAuthConfig() (auth.ServiceDetails, error) {