Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS errors after enabling CORS as recommended #9

Closed
impactmass opened this issue Oct 10, 2018 · 0 comments
Closed

CORS errors after enabling CORS as recommended #9

impactmass opened this issue Oct 10, 2018 · 0 comments

Comments

@impactmass
Copy link
Contributor

Describe the bug
According to documentation (here and here), Hydra supports CORS; but while implementing reactioncommerce/example-storefront#350, it was found that the recommended steps did not work. CORS related errors were still happening.

A work-around was used to prevent stalling the ticket, so this issue exists to (1) investigate more about the exact cause of the errors, (2) Re-open discussion with the software creators (as it was once reported here)

To Reproduce
Steps to reproduce the behavior:

  1. Enable CORS in Hydra instance as recommended in the link above
  2. Call Hydra's /oauth2/token from browser
  3. Notice the CORS related errors
    See Enable access token refreshing example-storefront#350 for more steps

Expected behavior
No errors after enabling as recommended

@impactmass impactmass changed the title CORS errors even after enabling CORS as recommended CORS errors after enabling CORS as recommended Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant