newrelic / newrelic-salesforce-exporter

New Relic integration for Salesforce logs.
Apache License 2.0
10 stars 14 forks source link

fix: support JWT exp offset as a config parameter and add instead of subtract #39

Closed sdewitt-newrelic closed 3 months ago

sdewitt-newrelic commented 3 months ago

Adds

Fixes

kanwaljit-mq commented 3 months ago

Issue still there. Not sure how to reopen the bug. so leaving a comment File "/nr-code/app/src/newrelic_logging/api.py", line 81, in aut henticate self.authenticator.authenticate(session) File "/nr-code/app/src/newrelic_logging/auth.py", line 199, in a uthenticate self.authenticate_with_jwt(session) File "/nr-code/app/src/newrelic_logging/auth.py", line 109, in a uthenticate_with_jwt exp = int(( AttributeError: 'tuple' object has no attribute 'timestamp'

error

No tupple exists yet we are trying to access it.