Remove Sts prefix in the request name as it is duplicate with the package

This commit is contained in:
Jin Qin
2023-09-28 00:42:26 +00:00
parent c50beac896
commit 6e2aaff345
3 changed files with 5 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ func (ts tokenSource) Token() (*oauth2.Token, error) {
if err != nil {
return nil, err
}
stsRequest := stsexchange.StsTokenExchangeRequest{
stsRequest := stsexchange.TokenExchangeRequest{
GrantType: "urn:ietf:params:oauth:grant-type:token-exchange",
Audience: conf.Audience,
Scope: conf.Scopes,