add avatar URL

This commit is contained in:
Tim Möhlmann
2023-11-13 18:27:09 +02:00
parent c4cf569164
commit 477d565ffb
3 changed files with 11 additions and 9 deletions

View File

@@ -126,6 +126,7 @@ func NewServer(
fallbackLogger: fallbackLogger,
hashAlg: crypto.NewBCrypt(10), // as we are only verifying in oidc, the cost is already part of the hash string and the config here is irrelevant.
signingKeyAlgorithm: config.SigningKeyAlgorithm,
assetAPIPrefix: assets.AssetAPI(externalSecure),
}
metricTypes := []metrics.MetricType{metrics.MetricTypeRequestCount, metrics.MetricTypeStatusCode, metrics.MetricTypeTotalCount}
server.Handler = op.RegisterLegacyServer(server, op.WithHTTPMiddleware(