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

cloud: fix(auth): preserve the status code while returning error (#7832) #7834

Merged
merged 2 commits into from
May 20, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented May 19, 2021

Clients like dgo rely on GRPC status code for operations in scenarios like relogin if JWT expired. We must preserve the status code while returning and not just wrap it.

(cherry picked from commit 1a92da4)


This change is Reviewable

Clients like dgo rely on GRPC status code for operations in scenarios like relogin if JWT expired. We must preserve the status code while returning and not just wrap it.

(cherry picked from commit 1a92da4)
@github-actions github-actions bot added the area/enterprise Related to proprietary features label May 19, 2021
edgraph/access_ee.go Outdated Show resolved Hide resolved
@NamanJain8 NamanJain8 merged commit ce63209 into release/v21.03-slash May 20, 2021
@NamanJain8 NamanJain8 deleted the naman/cp/auth branch May 20, 2021 04:09
ahsanbarkati pushed a commit that referenced this pull request May 27, 2021
…) (#7834)

* fix(auth): preserve the status code while returning error (#7832)

Clients like dgo rely on GRPC status code for operations in scenarios like relogin if JWT expired. We must preserve the status code while returning and not just wrap it.

(cherry picked from commit 1a92da4)

* nit

(cherry picked from commit ce63209)
ahsanbarkati pushed a commit that referenced this pull request May 27, 2021
…) (#7834)

* fix(auth): preserve the status code while returning error (#7832)

Clients like dgo rely on GRPC status code for operations in scenarios like relogin if JWT expired. We must preserve the status code while returning and not just wrap it.

(cherry picked from commit 1a92da4)

* nit

(cherry picked from commit ce63209)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/enterprise Related to proprietary features
Development

Successfully merging this pull request may close these issues.

2 participants