-
Notifications
You must be signed in to change notification settings - Fork 137
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
Access token cannot be retrieved if Saxon is default transformer #451
Comments
…ansformer (not saxon's if it is registered) AzureAD#451
Hello @rsafaie , |
The problem still exists in version 1.13.3. |
Thanks for your comments and sorry for not being able to include the fix yet. We will plan to include this fix in our next release and will update the thread once done. |
@siddhijain , can we know by when can we expect the next release as it will help us convey our customers on the ETA for the fixes we need to roll out for them? |
Thanks for your message @Syed-SnapLogic. Looking closely at the code changes suggested by @rsafaie, the changes can only be done from Java 9 onwards and won't work for packages built using Java 8. Since MSAL Java is built using Java 8, we won't be able to make those changes in our library. There are 2 options - 1. We find a fix for this bug using Java 8. 2. We wait for MSAL Java to be updated to using Java 9. Hope that makes sense. Thanks, |
Identity does not recommend using Username / Password flow. Pls use If you're using this flow in a confidential client, please provision a pure AAD user. There is no XML parsing when dealing with pure AAD users, only with federated users, i.e. those that are homed in ADFS and federated with AAD. |
Closing based on Bogdan's comment above. Please reopen the issue if you have more questions. |
Hi, Notice that this issue can cause problems using the JDBC driver if you select Our testing environment:
The JDBC driver returned error:
Note: A similar issue happens if the JDBC driver version uses If this problem it is not going to be fixed, Could you provide a workaround to avoid the problem? Regards |
Access token cannot be retrieved and throws the below error if Saxon transformer is on the classpath or javax.xml.transform.TransformerFactory is set to net.sf.saxon.TransformerFactoryImpl.
The issue can be reproduced by means of below code snippet:
net.sf.saxon.saxon-he:10.3 and com.microsoft.azure.msal4j:1.11.0 were used to reproduced the issue.
The same issue can be also reproduced for previous library com.microsoft.azure.adal4j:1.6.7.
The text was updated successfully, but these errors were encountered: