api-proxy-laravel icon indicating copy to clipboard operation
api-proxy-laravel copied to clipboard

Error when trying to get Resource Owner ID

Open codivist opened this issue 10 years ago • 1 comments

I have added this proxy to handle our ember stuff. our API uses oauth2-server-laravel and we can get the resource Owner ID by calling $this->authorizer->getResourceOwnerId() in the proper class. However when our ember app logs in, we need to get the resource owner Id still, but when I call that from a function that is used through the proxy, I get 500 error:

Server error response [url] http://api.example.dev/v1/proxyUser [status code] 500 [reason phrase] Internal Server Error
/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
line: 89

Is there something different I need to do to grab data from the Authorizer when using the proxy?

codivist avatar Feb 24 '15 19:02 codivist

have the same issue, any updates on this?

lhj1982 avatar Jul 07 '15 20:07 lhj1982