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

Behind reverse proxy /api-hub/designs returns 403 #339

Closed
gigaga opened this issue Jul 12, 2018 · 3 comments
Closed

Behind reverse proxy /api-hub/designs returns 403 #339

gigaga opened this issue Jul 12, 2018 · 3 comments

Comments

@gigaga
Copy link

gigaga commented Jul 12, 2018

Hi,

Currently, if I work directly on Apicurio instance, I am able to create a new API. The request http://localhost:8080/api-hub/designs returns 200.

If I try to work on the same Apicurio instance but by using a reverse proxy (apache), I am not able to create a new API. The request http://localhost:8080/api-hub/designs returns 403.

Thanks

@gigaga
Copy link
Author

gigaga commented Jul 12, 2018

By reexecuting the same request from curl I get the same 403 error.
If I remove "Origin" header of request, It's work!

After adding "Web Origins" to "*" in the related client declared in my Keycloak instance, it's work

@gigaga gigaga closed this as completed Jul 12, 2018
@EricWittmann
Copy link
Member

This is my favorite kind of issue! :)

@gigaga
Copy link
Author

gigaga commented Jul 12, 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

2 participants