stormpath / stormpath-laravel

Build simple, secure web applications with Stormpath and Laravel
Other
29 stars 6 forks source link

Uncaught Exception on invalid ID Site Model #38

Closed bretterer closed 8 years ago

bretterer commented 8 years ago

When creating a new application, the ID Site Model is not generated and will return null instead of the URL in the API request for the application. This was causing an error in the integration that we were not handling. We need to catch this exception in the laravel integration to display useful information here.

cmgmyr commented 8 years ago

:+1: I'm getting this too

bretterer commented 8 years ago

@cmgmyr thank you for confirming this. I will be working on this bug today

bretterer commented 8 years ago

Until an update for this is made, to resolve the issue, Click on ID Site from inside the Stormpath UI Dashboard and it will resolve itself. This causes the ID Site Model to be created.

bretterer commented 8 years ago

Fixed and will be released in 0.4.0