Search code examples
loggingoauth-2.0rubygemsresponse

How do you log responses with oauth2 gem?


I see that oauth2 uses Faraday to handle requests and response which has support for logging to stdout. How do you enable that option with the oauth2 gem?


Solution

  • Set ENV variable OAUTH_DEBUG=true