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

Internal Server when auth headers have mismatching URLs #88

Open
civsiv opened this issue Nov 23, 2020 · 0 comments
Open

Internal Server when auth headers have mismatching URLs #88

civsiv opened this issue Nov 23, 2020 · 0 comments

Comments

@civsiv
Copy link
Contributor

civsiv commented Nov 23, 2020

When making a C1/C2/B request, currently one of the headers that have to be supplied is X-OpenActive-Test-Seller-Id. The value for this is a URL. When the host of the URL value does not match the host of the app, a 500 error is thrown.

This is not what should happen. Instead, a 401 InvalidAuthorizationDetailsError should be thrown

Screenshot 2020-11-23 at 13 01 08

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