dotcom: request write scopes for EP prod proxy (#64450)

doh

## Test plan

n/a
This commit is contained in:
Robert Lin 2024-08-13 09:14:57 -07:00 committed by GitHub
parent adce59be48
commit 27d0615a3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -267,7 +267,7 @@ func NewHandler(
enterpriseportal.SAMSConfig{
ClientID: dotcomConf.SamsClientID,
ClientSecret: dotcomConf.SamsClientSecret,
Scopes: enterpriseportal.ReadScopes(), // WIP: enable write access to prod later
Scopes: append(enterpriseportal.ReadScopes(), enterpriseportal.WriteScopes()...),
ConnConfig: samssdk.ConnConfig{
ExternalURL: dotcomConf.SamsServer,
},