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

Automatically refresh the Auth token does not work. #1386

Closed
Danny-ouo opened this issue Oct 26, 2023 · 6 comments
Closed

Automatically refresh the Auth token does not work. #1386

Danny-ouo opened this issue Oct 26, 2023 · 6 comments
Labels
bug Something isn't working Priority Implement this asap

Comments

@Danny-ouo
Copy link

Describe the bug
If request has "pre-request" the function that automatically refresh the Auth token does not work.

To Reproduce
When I send a request that includes the “pre-request”, automatically refresh the Auth token does not work. So response status is "401 Unauthorized".
However, when I send a request that not contain the “pre-request”, the Auth token is automatically refresh.
image

Expected behavior
Auth token is refresh automatically and the API request works.

Platform:

  • OS: Windows 10 Pro
  • vscode version: 1.83.1
  • extension version: 2.14.1(thunder client)

Are you using the free version/paid version/trial: I used free trial version. But now I use free version.

@Danny-ouo Danny-ouo added the bug Something isn't working label Oct 26, 2023
@rangav
Copy link
Collaborator

rangav commented Oct 26, 2023

Hi @Danny-ouo Thanks for reporting the bug, Will look into it.

Where are the Auth details saved? is it the main request or collection settings?

@Danny-ouo
Copy link
Author

Auth details is saved in collection settings.

@rangav
Copy link
Collaborator

rangav commented Nov 10, 2023

I can reproduce the error, thanks for reporting it. Will fix it asap.

@rangav rangav added the Priority Implement this asap label Nov 10, 2023
@rangav
Copy link
Collaborator

rangav commented Nov 14, 2023

This bug is fixed now and published to the marketplace, please update to v2.16.0

See all features in this update
https://github.com/rangav/thunder-client-support/releases/tag/v2.16.0

Please test and let me know your feedback.

@rangav rangav closed this as completed Nov 14, 2023
@Danny-ouo
Copy link
Author

It works! Thanks a lot :)

@rangav
Copy link
Collaborator

rangav commented Nov 16, 2023

Thanks for confirmation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority Implement this asap
Projects
None yet
Development

No branches or pull requests

2 participants