API Platform version(s) affected: 4.0.1
Description
While API Platform appears to support authorization within Swagger UI, the Laravel module hasn’t fully implemented this functionality yet. As a result, neither OAuth nor API key authentication works within Swagger UI.
How to reproduce
Open the Swagger UI for your API and click the "Authorize" button in the top right. Regardless of your configuration, the authorization window remains empty.
Possible Solution
It seems that the authorization functionality is partially in place, but some configuration values aren’t being passed down to Swagger UI. I’ll submit a PR to address this.
EDIT: Not sure if this is supposed to be a feature or a bug (because it is technically implemented already, just not working with laravel, i think it is considered a bug?)
API Platform version(s) affected: 4.0.1
Description
While API Platform appears to support authorization within Swagger UI, the Laravel module hasn’t fully implemented this functionality yet. As a result, neither OAuth nor API key authentication works within Swagger UI.
How to reproduce
Open the Swagger UI for your API and click the "Authorize" button in the top right. Regardless of your configuration, the authorization window remains empty.
Possible Solution
It seems that the authorization functionality is partially in place, but some configuration values aren’t being passed down to Swagger UI. I’ll submit a PR to address this.
EDIT: Not sure if this is supposed to be a feature or a bug (because it is technically implemented already, just not working with laravel, i think it is considered a bug?)