-
Notifications
You must be signed in to change notification settings - Fork 136
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
Comments
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? |
Auth details is saved in collection settings. |
I can reproduce the error, thanks for reporting it. Will fix it asap. |
This bug is fixed now and published to the marketplace, please update to See all features in this update Please test and let me know your feedback. |
It works! Thanks a lot :) |
Thanks for confirmation |
Describe the bug
If request has "pre-request" the function that automatically refresh the Auth token does not work.
To Reproduce
![image](https://private-user-images.githubusercontent.com/24267668/278207170-3fd5fca7-3410-48bc-baa5-b92af1339554.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjkyNTAsIm5iZiI6MTczODk2ODk1MCwicGF0aCI6Ii8yNDI2NzY2OC8yNzgyMDcxNzAtM2ZkNWZjYTctMzQxMC00OGJjLWJhYTUtYjkyYWYxMzM5NTU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIyNTU1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyZjhmNTVlOGNmOTlkYjYxYzFlYTAxZTQzMTRmMDkyYThhZWZjYTBhZjA3MGRmN2E3MzFlZWVkYjI2YWNhMzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wiymkLuwYzd0j-F08eMvQHqGEBQBYYi7Q14ibXVlChU)
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.
Expected behavior
Auth token is refresh automatically and the API request works.
Platform:
Are you using the free version/paid version/trial: I used free trial version. But now I use free version.
The text was updated successfully, but these errors were encountered: