From a quick look into the get and other request implementations they're not checking for an error returned by the service.
There's two (immediate) cases where this would have helped with debugging some problems I had:
I didn't notice that my secret was out dated because the error returned by OAuth via getAccessToken was not thrown.
Because the token was invalid I couldn't get the email scope (which is required by sfGuard) so the User was never created -- the actual error shown was that email_address failed validation (not_null).
From a quick look into the
get
and other request implementations they're not checking for an error returned by the service.There's two (immediate) cases where this would have helped with debugging some problems I had:
secret
was out dated because the error returned by OAuth viagetAccessToken
was not thrown.email
scope (which is required bysfGuard
) so the User was never created -- the actual error shown was thatemail_address
failed validation (not_null
).