Skip to content

Commit a2e8bca

Browse files
authored
Merge branch 'master' into dependabot/go_modules/github.com/consensys/gnark-crypto-0.18.1
2 parents 03de1ad + f409d11 commit a2e8bca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/api/external_figma_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (ts *ExternalTestSuite) TestSignupExternalFigma() {
2727
ts.Equal(ts.Config.External.Figma.RedirectURI, q.Get("redirect_uri"))
2828
ts.Equal(ts.Config.External.Figma.ClientID, []string{q.Get("client_id")})
2929
ts.Equal("code", q.Get("response_type"))
30-
ts.Equal("files:read", q.Get("scope"))
30+
ts.Equal("current_user:read", q.Get("scope"))
3131

3232
claims := ExternalProviderClaims{}
3333
p := jwt.NewParser(jwt.WithValidMethods([]string{jwt.SigningMethodHS256.Name}))

internal/api/provider/figma.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func NewFigmaProvider(ext conf.OAuthProviderConfiguration, scopes string) (OAuth
3838
apiHost := chooseHost(ext.URL, defaultFigmaAPIBase)
3939

4040
oauthScopes := []string{
41-
"files:read",
41+
"current_user:read",
4242
}
4343

4444
if scopes != "" {

0 commit comments

Comments
 (0)