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

Move header update after token refresh #61

Merged
merged 3 commits into from
Jan 7, 2022
Merged

Move header update after token refresh #61

merged 3 commits into from
Jan 7, 2022

Conversation

olalid
Copy link
Collaborator

@olalid olalid commented Jan 5, 2022

When a token has expired a new token is requested with the token_refresh API.
However, the request headers were not updated with the new token after the call.
Also, a custom header is added to the login and token_refresh API calls.

@olalid olalid mentioned this pull request Jan 5, 2022
Copy link
Collaborator

@astrandb astrandb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine!

@olalid olalid added the bug Something isn't working label Jan 5, 2022
Copy link
Collaborator

@astrandb astrandb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added headers looks good to me.

@olalid olalid merged commit 87e924b into master Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants