Open rijami00 opened 8 months ago
Another thing to note is that sometimes, I get this error right after redirect URI fail error line but it is not consistent.
[main] WARN com.microsoft.azure.javamsalruntime.Callbacks - (MSALRuntime log) [MSAL:0001] WARNING WcharToUtf8:27 Failed to convert UTF16 into UTF8: 0x00000459
@ashok672 - I think you fixed a bunch of memory issues in msal runtime. Is there a java package that can be updated?
Hi.
I'm wondering if WAM broker working on 32bit java is part of supported scope?
I can confirm that if I don't use the WAM broker, it works perfectly even in 32bit java.
Bump. Any update on this?
We have also encountered this - is there any update ?
@ashok672 - I think you fixed a bunch of memory issues in msal runtime. Is there a java package that can be updated?
@ashok672 can you please take a look?
Library version used
1.14.2
Java version
openjdk 17.0.10 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK Client VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, emulated-client)
Windows version
Edition Windows 11 Pro Version 23H2 OS build 22631.3155 Experience Windows Feature Experience Pack 1000.22684.1000.0 System type 64-bit operating system, x64-based processor
Scenario
PublicClient (AcquireTokenInteractive, AcquireTokenByUsernamePassword)
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
Hi. First of all, thank you for this wonderful library.
We are trying to implement a login for a sofftware where we have to use x86 (32 bits) version of JDK (17).
The PoC works fine when tested on JDK 17 (or 21) x64 but it falls flat when x86 version is used.
I have tried to debug this and found some stuff that can be used to further debug this. I am not sure if I can progress further as this package seems to be missing (or no permission): https://github.com/AzureAD/microsoft-authentication-library-for-cpp
Interestingly, if we avoid the WAM broker, it opens the browser and seems to work.
We have an
invalid memory access
and an error about not being able to set redirect URI (because it is '') but when we provide this, it is not empty.Error Logs when using
acquireTokenSilently
:Error logs when using
InteractiveRequestParameters
:Relevant code snippets