Fix OAuth code exchange and go lint

Authorization-code exchange used ExternalClientID, which
is empty for registered clients and broke e2e token
grants. Pass the authenticated client's GID instead.

Also satisfy wsl_v5 blank-line rules, wire the delete
reference dialog through its mutation hook, and name the
filemanager logger.

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-07-20 10:38:25 +02:00
parent 43ce3a7c53
commit 4b4e7ea1f8
7 changed files with 11 additions and 13 deletions

View File

@@ -378,7 +378,7 @@ func (impl *Implm) Run(
return err
}
fileManagerService := filemanager.NewService(pgClient, baseURL, s3Client, l)
fileManagerService := filemanager.NewService(pgClient, baseURL, s3Client, l.Named("filemanager"))
commonThirdPartyEnrichmentCfg, err := impl.buildCommonThirdPartyEnrichmentConfig(l, tp, r, fileManagerService)
if err != nil {