-
Notifications
You must be signed in to change notification settings - Fork 214
Error in token acquisition when password contains special characters #1492
Comments
Can repro, I tried a password similar to
|
MSAL is not affected. It seems that the underlying issue is that we set the Content-Type to
It's the charset that is problematic. Removing it makes the http request pass. I will follow up with the server guys to better understand if this a bug on their side. I cannot just remove the charset as it was added a long time ago to support some other scenario. |
Server guys confirmed this a bug on their side. Will track this getting fixed and update the thread. |
meanwhile, @brenkehoe, if you want to move to MSAL.NET, this will solve this issue: https://aka.ms/adal-net-to-msal-net |
Internal bug on the Microsoft identity platform service: 647691 |
I believe this has been fixed. |
If this has been fixed, the link and known issues section can be removed from https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki/Username-Password-Authentication |
Done, thanks |
Which Version of ADAL are you using ?
4.5.0
Which platform has the issue?
net45
What authentication flow has the issue?
Other? - please describe;
Calling AcquireTokenAsync with resource, clientid and credential
Is this a new or existing app?
a. The app is in production, and I have upgraded to a new version of ADAL
Repro
Call AcquireTokenAsync with a credential where the password contains special characters such as < or &
Expected behavior
Passwords with special characters should be handled. This works correctly in version 3.19.8
Actual behavior
The following error occurs AADSTS90013: Invalid input received from the user.
The text was updated successfully, but these errors were encountered: