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(login): fix login based on refresh token logic #7637

Merged
merged 3 commits into from
Mar 23, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Mar 23, 2021

We were fetching the namespace from the api.LoginRequest.Namespace even if the user has sent the refresh token. We should not do that and extract the namespace from the refresh token itself.


This change is Reviewable

edgraph/access_ee.go Outdated Show resolved Hide resolved
@NamanJain8 NamanJain8 merged commit 37c99b3 into release/v21.03 Mar 23, 2021
@NamanJain8 NamanJain8 deleted the naman/refresh-token branch March 23, 2021 17:37
aman-bansal pushed a commit that referenced this pull request Mar 25, 2021
We were fetching the namespace from the api.LoginRequest.Namespace even if the user has sent the refresh token. We should not do that and extract the namespace from the refresh token itself.
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