API Platform version(s) affected: 4.3.8+
Description
Symfony bundle creates resources in public/bundles/apiplatform/swagger-ui/
Since 4.3.8 the file oauth2-redirect.html is changed. It used to include an embedded script and now, the script has been moved to oauth2-redirect.js. The problem is that the file is not included in the bundle.
The bug is introduced in this commit ef40bcd
How to reproduce
If we use oauth2 authorization in swagger-ui with oidc o authorization_code grant it fails.
Possible Solution
Add the missing script to the bundle.
API Platform version(s) affected: 4.3.8+
Description
Symfony bundle creates resources in public/bundles/apiplatform/swagger-ui/
Since 4.3.8 the file oauth2-redirect.html is changed. It used to include an embedded script and now, the script has been moved to oauth2-redirect.js. The problem is that the file is not included in the bundle.
The bug is introduced in this commit ef40bcd
How to reproduce
If we use oauth2 authorization in swagger-ui with oidc o authorization_code grant it fails.
Possible Solution
Add the missing script to the bundle.