Closed JunkMyFunk closed 8 years ago
Thank you for this report. I see the PR that you submitted, I am going to modify a few items in that that relate to https://github.com/stormpath/stormpath-laravel/pull/48. This will be merged in soon.
Resolved in PR #3
Will be released in 0.1.4
I receive an error from the Stormpath AngularJS login controller when integrating with the Stormpath Lumen API. The error from Angular is
Cannot read property 'providerId' of undefined
When examining the response generated by
LoginController::respondWithForm()
method, it seems theaccountStores
array contains an unexpected nested array.Actual response:
Expected response (without nested array)
Problem appears to be caused at
src/Http/Controllers/LoginController.php:138
where the get from cache is wrapped in an array.