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

Validate auth field name if using arborist for auth #62

Open
qingyashu opened this issue Oct 24, 2019 · 0 comments
Open

Validate auth field name if using arborist for auth #62

qingyashu opened this issue Oct 24, 2019 · 0 comments

Comments

@qingyashu
Copy link
Contributor

Right now the auth helper is casting an additional auth layer to the filter for accessing accessible datasets. But it doesn't have actually validate the field exists. So if guppy is mis-configured with wrong auth field name, the server won't go down, and graphql endpoint will always return BAD_USER_INPUT err, which is not helpful. Please add validation for auth field during initialization.

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