Closed unValerio closed 2 years ago
Last commit supporting extra headers was not functional, because fos_oauth_server->service->options are not arrays but scalars. Now we can config extra headers as encoded json string. (Decoded in OAuth2.php line 1484)
Also it now accept HTTP OPTIONS method cause this is how Cross-Origin Resource Sharing standard mandates browsers to behave. Please refer to this document: https://developer.mozilla.org/en-US/docs/HTTP_access_control
Last commit supporting extra headers was not functional, because fos_oauth_server->service->options are not arrays but scalars. Now we can config extra headers as encoded json string. (Decoded in OAuth2.php line 1484)
Also it now accept HTTP OPTIONS method cause this is how Cross-Origin Resource Sharing standard mandates browsers to behave. Please refer to this document: https://developer.mozilla.org/en-US/docs/HTTP_access_control