Closed arnodirlam closed 5 years ago
Hi. Thanks for the pull request. I was thinking it might make sense to decode the body as json to avoid the regex, I think this would make it easier to maintain in the long run. This might be something of a bigger change, so perhaps it belongs in its own pr? @ueberauth/developers
@Hanspagh I think that's a great suggestion, the RegEx seems a little unnecessary
done. It requests JSON responses in general now, and decodes them if applicable. So response handling can now deal with the decoded response data.
@Hanspagh any final thoughts?
Great work. looks much cleaner now :D
Thanks a lot for the feedback and merging my PR! 🎉
I've got 3 more PRs up my sleeve that I'll submit by this weekend 😉
Hi!
I've had problems with the app configuration on Twitter, and did not see proper error messages when using the OAuth modules. So I created an improved error message that formats the OAuth response as more readable exception message that is, in turn, rendered by Phoenix (or whatever you use).
Let me know whether this seems good & useful.