Skip to content

Commit

Permalink
set url
Browse files Browse the repository at this point in the history
  • Loading branch information
orto17 committed Jan 22, 2025
1 parent b01af12 commit 0b762b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0b762b9

Please sign in to comment.