-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix(GraphQL): Fix auth-token propagation for HTTP endpoints resolved through GraphQL (GRAPHQL-946) #7245
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @abhimanyusinghgaur, @manishrjain, @MichaelJCompton, @pawanrawal, and @vvbalaji-dgraph)
graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go, line 93 at r1 (raw file):
resp, err := (&http.Client{}).Do(req) require.NoError(t, err) b, err := ioutil.ReadAll(resp.Body)
defer resp.Body.Close()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, cherry-pick into 20.11 and 20.07
Reviewed 2 of 2 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @abhimanyusinghgaur, @manishrjain, @MichaelJCompton, and @vvbalaji-dgraph)
…through GraphQL (GRAPHQL-946) (#7245) Fixes [Discuss Issue](https://discuss.dgraph.io/t/alpha-problems-with-auth-token/12136). (cherry picked from commit 146c4f1)
…through GraphQL (GRAPHQL-946) (#7245) Fixes [Discuss Issue](https://discuss.dgraph.io/t/alpha-problems-with-auth-token/12136). (cherry picked from commit 146c4f1) # Conflicts: # graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go
…through GraphQL (GRAPHQL-946) (#7245) (#7251) Fixes [Discuss Issue](https://discuss.dgraph.io/t/alpha-problems-with-auth-token/12136). (cherry picked from commit 146c4f1)
…through GraphQL (GRAPHQL-946) (#7245) (#7252) Fixes [Discuss Issue](https://discuss.dgraph.io/t/alpha-problems-with-auth-token/12136). (cherry picked from commit 146c4f1) # Conflicts: # graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go
Fixes Discuss Issue.
This change is