Skip to content

Commit 80e6a1c

Browse files
committed
Add Auth in header style to Oauth request
1 parent 22bbc58 commit 80e6a1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

brightbox/brightbox_interface.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ func (authd *authdetails) tokenisedAuth(ctx context.Context) (*brightbox.Client,
449449
ClientSecret: authd.APISecret,
450450
Scopes: infrastructureScope,
451451
Endpoint: oauth2.Endpoint{
452-
TokenURL: authd.tokenURL(),
452+
TokenURL: authd.tokenURL(),
453+
AuthStyle: oauth2.AuthStyleInHeader,
453454
},
454455
}
455456
glog.V(4).Infof("Obtaining authentication for user %s", authd.UserName)

0 commit comments

Comments
 (0)