neomerx
neomerx
A typical solution for this issue would be saving CORS headers before handling next middleware/Controller. When an unexpected exception occurs it will be handled by an Exception Handler. This handler...
Also, there is another error handling strategy: final handler (controller) should not throw any exceptions (it just catches them all) so middleware can expect to always have a chance to...
@tuupola A developer will have to deal with exceptions in this case or another anyway. IMHO, a controller should handle all errors from itself and below and returns only responses...
@reefebba Hi, there is a [wiki](https://github.com/neomerx/json-api/wiki) which is intended to provide such information and [sample aplication](https://github.com/neomerx/json-api/tree/master/sample) that demonstrate how to work with the library. Also, there is a ton of...
@Doqnach Handling HTTP is out of the project's scope. You can use any framework of your choice to handle HTTP and use the library to encode your models/resources into JSON.
Do you mean [KEY_APPROVAL_URI_STRING](https://github.com/limoncello-php/framework/blob/bcbd96f19adfb4c2999b494c777633282fcc8402/components/Contracts/src/Settings/Packages/PassportSettingsInterface.php#L32-L35)? After a 3rd party server redirects a user to limoncello server it should show the user a list of scopes/rights/permissions requested by the 3rd party server....
It's called `clientCredentials`. You can set the value on when create a client. By default it is verified with PHP `password_verify` method in `\Limoncello\Passport\Integration\BasePassportServerIntegration::verifyClientCredentials` so it is expected to be...
I haven't tried to use limoncello in this scenario. Is it possible for you to publish a test project where I can test it and made necessary changes in the...
@dreamsbond I'm extremely busy this week and most of the next week. If you create a test project with 2 folders `client` and `server` each of them configured as an...
I'll help you. I'm creating a simple client and a server that work with OAuth. Though I cannot help as quickly as I usually do as I'm very busy until...