mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
fix(azure-keyvault): remove incorrect suffix from provider URL (#4136)
Signed-off-by: Igor Beliakov <demtis.register@gmail.com>
This commit is contained in:
parent
1ae44e4167
commit
96921ee131
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ func NewTokenProvider(ctx context.Context, token, clientID, tenantID, aadEndpoin
|
|||
cred := confidential.NewCredFromAssertionCallback(func(ctx context.Context, aro confidential.AssertionRequestOptions) (string, error) {
|
||||
return token, nil
|
||||
})
|
||||
cClient, err := confidential.New(fmt.Sprintf("%s%s/oauth2/token", aadEndpoint, tenantID), clientID, cred)
|
||||
cClient, err := confidential.New(fmt.Sprintf("%s%s", aadEndpoint, tenantID), clientID, cred)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue