Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
allow for leading whitespace in JSON #256
Some oauth providers (specifically AT&T) return their JSON payloads with lots of leading whitespace, which fails the current test of
This PR is an attempt to allow for situations like this, and still properly catch these payloads as JSON.
I tried looking through the tests to see where I could add a case to ensure this works but didn't see anywhere that stood out to me. I'm more than happy to attempt that if given a little more direction on this.