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

ConsentInterceptor is called on metadata calls #2648

Closed
tadgh opened this issue May 11, 2021 · 0 comments · Fixed by #2650
Closed

ConsentInterceptor is called on metadata calls #2648

tadgh opened this issue May 11, 2021 · 0 comments · Fixed by #2650

Comments

@tadgh
Copy link
Collaborator

tadgh commented May 11, 2021

Currently, consent interceptor is invoked during calls to /metadata, and the $meta operation. This is an error, and the consent interceptor should ignore checks on those endpoints.

Solution:

  1. if a request is a meta operation, or navigating to /metadata, the hook should just return
  2. We should still call completeOperationFailure() and completeOperationSuccess()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant