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

OAUTH2 Access token breaks on all versions higher that 2.14.1 #1439

Closed
y272nly opened this issue Dec 20, 2023 · 8 comments
Closed

OAUTH2 Access token breaks on all versions higher that 2.14.1 #1439

y272nly opened this issue Dec 20, 2023 · 8 comments
Labels
bug Something isn't working Priority Implement this asap

Comments

@y272nly
Copy link

y272nly commented Dec 20, 2023

Describe the bug
A simple GET request using OAUTH2 fails perhaps because the token is too big. In my case its an AZURE token that has 1301 characters.

When a GET request is SENT on versions higher that 2.14.1 it fails and then the field becomes read-only, cannot be changed and I need to close and re-open the request to try again, but same issue.
What happened to this and can it be fixed in latest release ?

Token Prefix : Bearer
Access Token : DyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlQxU3QtZExUdnlXUmd4Ql82NzZ1OGtyWFMtSSIsImtpZCI6IlQxU3QtZExUdnlXUmd4Ql82NzZ1OGtyWFMtSSJ9.eyJhdWQiOiIwZjZmNWJiMy0yNWU3LTQ0OWUtODI2Ni1mOGZkNDU3Yzg2ZWMiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9hN2YzNTY4OC05YzAwLTRkNWUtYmE0MS0yOWYxNDYzNzdhYjAvIiwiaWF0IjoxNzAzMDgyNzQwLCJuYmYiOjE3MDMwODI3NDAsImV4cCI6MTcwMzA4NjY0MCwiYWlvIjoiRTJWZ1lDLaGY1aHRoUDZFeVlKSGZSZSs5alYvNUFBPT0iLCJhcHBpZCI6IjgzNzEyNDg4LThjM2YtNDk4OS04YjljLWNiYTYxYzFlNzE0MyIsImFwcGlkYWNyIjoiMSIsImlkcCI6Imh0dHBzOi8vc3RzLndpbmRvd3MubmV0L2E3ZjM1Njg4LTljMDAtNGQ1ZS1iYTQxLTI5ZjE0NjM3N2FiMC8iLCJvaWQiOiJlZmMyNGI1Ny0xYjk1LTRjNWYtODJlZi0yOGYwY2ViYmRlNTUiLCJyaCI6IjAuQVFzQWlGYnpwd0NjWGsyNlFTbnhSamQ2c0xOYmJ3X25KWjVFZ21iNF9VVjhadXdMQUFBLiIsInJvbGVzIjpbIlJPQlQiLCJPUiIsIlRyaW5pdHkiLCJORzkiXSwic3ViIjoiZWZjMjRiNTctMWI5NS00YzVmLTgyZWYtMjhmMGNlYmJkZTU1IiwidGlkIjoiYTdmMzU2ODgtOWMwMC00ZDVlLWJhNDEtMjlmMTQ2Mzc3YWIwIiwidXRpIjoiRlNOV0YtcTl6VXl1R2JvRGM0RnRBQSIsInZlciI6IjEuMCJ9.o7clKwM9vlffOlVQkf-GGtUj4dVmSJkgB1n66OrsYmDLpPW5yOIkRtIaz8nfIBgsInBqb7PPqH_pgY0HcwgJtkc-ndj_TX3Y_iyHCLPDek5LG6H7AdhnkwVH8nMVsqD2p9TJ1XS84pc0N7TpM-dhN_ODB0sWnPowqxsUshBp-TXUBzok0my4LOz-UIsyzABwRxnW0HwGAgdD-4D7DoyA7raP1frsYkE8H_fhAHjBs9J8SANMwqfZqsmpJZ2GlD0UV35qg3cz6gP7deU-deGiO6Zioy9fk0c3XS2NSDjTW9CHoTiwAn80gmfhkZKT88eGBfZIo8ELngFD54hC81FJ9w

To Reproduce

Use a large token when using OAUTH2 GET calls on versions of thunder-client newer that 2.14.1

Expected behavior

On version 2.14.1 and lower, the token size is acceptable and the problem does not occur.

Platform:

  • OS: Windows
  • vscode version: 1.85.1
  • extension version: 2.16.3
@y272nly y272nly added the bug Something isn't working label Dec 20, 2023
@rangav
Copy link
Collaborator

rangav commented Dec 21, 2023

@y272nly are you using free or paid version?

@y272nly
Copy link
Author

y272nly commented Dec 22, 2023

Free version

@rangav
Copy link
Collaborator

rangav commented Dec 22, 2023

Thanks @rangav reporting the bug, will fix it asap.

Alternatively you can use Bearer tab and paste token value

@rangav rangav added the Priority Implement this asap label Dec 22, 2023
@rangav
Copy link
Collaborator

rangav commented Jan 3, 2024

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

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

Please test and let me know your feedback.

@rangav rangav closed this as completed Jan 3, 2024
@y272nly
Copy link
Author

y272nly commented Jan 4, 2024 via email

@rangav
Copy link
Collaborator

rangav commented Jan 4, 2024

Thanks for confirmation

right click menu is vscode issue - #1377 (comment)

@y272nly
Copy link
Author

y272nly commented Jan 4, 2024 via email

@rangav
Copy link
Collaborator

rangav commented Jan 4, 2024

Welcome - Happy New Year to you too 🤝

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