Add config to skip encoding user groups in reva tokens

This commit is contained in:
Ishank Arora
2021-09-23 15:19:32 +02:00
parent 669175b062
commit 518e8747b2
16 changed files with 61 additions and 37 deletions

View File

@@ -37,7 +37,7 @@ func (c *cs3backend) GetUserByClaims(ctx context.Context, claim, value string, w
}
res, err := c.authProvider.Authenticate(ctx, &gateway.AuthenticateRequest{
Type: "machine",
Type: "bearer",
ClientId: value,
ClientSecret: c.machineAuthAPIKey,
})