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

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

Merged
merged 2 commits into from
May 19, 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.


This change is Reviewable

@NamanJain8 NamanJain8 merged commit 1a92da4 into master May 19, 2021
@NamanJain8 NamanJain8 deleted the naman/fix-live-auth branch May 19, 2021 12:47
NamanJain8 added a commit that referenced this pull request 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)
NamanJain8 added a commit that referenced this pull request May 20, 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
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants