Log params to token_handler endpoint even during error cases

This commit is contained in:
Joshua Casey
2024-11-06 10:26:28 -06:00
parent 0d22ae2c1a
commit dc6faa33bb
9 changed files with 218 additions and 69 deletions

View File

@@ -119,6 +119,7 @@ func (m *Manager) SetFederationDomains(federationDomains ...*federationdomainpro
tokenHMACKeyGetter,
nil,
timeoutsConfiguration,
m.auditLogger,
)
// For all the other endpoints, make another oauth helper with exactly the same settings except use real storage.
@@ -128,6 +129,7 @@ func (m *Manager) SetFederationDomains(federationDomains ...*federationdomainpro
tokenHMACKeyGetter,
m.dynamicJWKSProvider,
timeoutsConfiguration,
m.auditLogger,
)
upstreamStateEncoder := dynamiccodec.New(