Support for Cross-Origin Resource Sharing (CORS)
henriquels25 opened this issue · comments
Henrique Luis Schmidt commented
Summary
I have a single page application that uses the authorization code flow to authenticate with the authorization server.
Right now, it is not possible to use this mock server because the request is blocked by CORS policy.
Error: Access to XMLHttpRequest at 'http://localhost:8083/.well-known/openid-configuration' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Desired solution
It would be good if the mock authorization server supported CORS, or if there was a client argument to enable it.
Henrique Luis Schmidt commented
This issue is solved by #23