I'm using Omniauth to do OAuth2 authorization. (See my fruitless cries for help.) I tried changing how we did auth, but that's failing. So I reverted all my changes to go back to a system which worked... and now that doesn't work either. (I'm getting "Could not authenticate access code" errors.)
Nothing has changed in the code, I've verified this in git. But the deployed production version works and my development version doesn't. In an attempt to debug this, I'd like to look at the conversation between my app and the IDP, but I'll be damned if I can see a bit of it.
Is there a way to get Omniauth to log some more about what it's doing, like "Requesting OAuth token from #{url} with credentials #{whatever}"? Then maybe I could figure out what's wrong.