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

Deserialization error on Azure JWT Token acquire #109

Closed
is-smok opened this issue Sep 30, 2024 · 4 comments
Closed

Deserialization error on Azure JWT Token acquire #109

is-smok opened this issue Sep 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@is-smok
Copy link

is-smok commented Sep 30, 2024

Describe the bug
Error raised at the end of token retrieval from Azure.
Cannot deserialize value of type java.lang.Stringfrom Array value (tokenJsonToken.START_ARRAY) at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 278] (through reference chain: java.util.LinkedHashMap["error_codes"])

The error MIGHT be caused by SSL cert rewritten by proxy.

Steps to reproduce
Acquire token from Azure in network protected by proxy that rewrites SSL cert for a webpage

Expected behavior
I'm able to request JWT from Azure EntraID. Tool should use certs from MS Cert Store or make it feasible to provide cert chain manually.

Environment information:

  • OS: Win 11
  • IDE version: 2024.1.6
  • plugin version: 2024.3.11-241
@is-smok is-smok added the bug Something isn't working label Sep 30, 2024
@AntonShuvaev
Copy link
Collaborator

Thanks for reporting this issue. Could you provide more details? Specifically, where do you see this error? Do you have any pre-request or post-response scripts?

@is-smok
Copy link
Author

is-smok commented Sep 30, 2024

After I click "Get New Access Token" auth window opens, I accept account to be used, windows is closed, looks like JetClient gets new JWT in background and then the message appears. I am not using any additional scripts. The message (in red) appears below buttons: "Get New Access Token", "Refresh Token", "Clear Cookies".2024-09-30_15h10_52.jpg

@AntonShuvaev
Copy link
Collaborator

Thanks for the details. I'll fix it ASAP.

@AntonShuvaev
Copy link
Collaborator

The issue is fixed in version 2024.3.12. Let me know if you encounter any problems.

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

No branches or pull requests

2 participants