Comments (17)
This is an issue happening on ADAL.NET. I transferred it to the ADAL.NET repo.
@bgavrilMS @trwalke @jennyf19 @pmaytak : do we have a way of trying if MSAL.NET is also affected?
from azure-activedirectory-library-for-dotnet.
from azure-activedirectory-library-for-dotnet.
Which new issue, @Deloyuri : this is the same (just transferred from one repo to another)
from azure-activedirectory-library-for-dotnet.
@Deloyuri have you considered moving to MSAL.NET?
from azure-activedirectory-library-for-dotnet.
from azure-activedirectory-library-for-dotnet.
@Deloyuri i understand.
Which xamarin version are you on?
You can pass in an HttpClientFactory for iOS...can you try passing in one that uses the managed handler, which doesn't care about the app going into the background and see if that one works? You would do something like this for the iOS factory:
Providing an HttpClient · https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/Providing-an-HttpClient
from azure-activedirectory-library-for-dotnet.
@Deloyuri i would suggest passing in the HttpClient, as the solution. It shouldn't be a huge change in your code, do you have a test environment where you can try it?
and which version of Xamarin is being used?
from azure-activedirectory-library-for-dotnet.
@jennyf19 - note that injecting an HttpClient was implemented sometime in ADAL 5.x, pretty sure it isn't possible in ADAL 3.x. Why would a custom HttpClient fix this issue? Are you thinking about the recent Xamarin SDK bug?
from azure-activedirectory-library-for-dotnet.
@bgavrilMS i would like to see if the managed httpclient is not working as well, either netcore/mono has the issue.
@Deloyuri, as @bgavrilMS mentioned, you would need to move to latest ADAL version first.
recent Xamarin SDK bug
it wasn't a bug in Xamarin, it was a bug in the customer code.
from azure-activedirectory-library-for-dotnet.
also @Deloyuri I gave our css engineer the link to the MSAL.NET repro, and not ADAL.NET, sorry about that, but @jmprieur got it sorted out
from azure-activedirectory-library-for-dotnet.
you guys lost me a bit. As @bgavrilMS mentioned, the version of ADAL we have doesn't allow for swapping out HttpClient. Has anyone on your team been able to reproduce this? I'd suggest trying with the same version of ADAL as above, and on an iOS 14.5 beta device.
from azure-activedirectory-library-for-dotnet.
@Deloyuri we can try to repro on the latest version, but not on 3.x. our suggestion would be to use the HttpClient, as I mentioned above. Or move to MSAL.NET
from azure-activedirectory-library-for-dotnet.
Please let me know what you see when you try to reproduce with ADAL and iOS 14.5 beta.
from azure-activedirectory-library-for-dotnet.
@Deloyuri - just to set expectations, we do support ADAL 5.x but not ADAL 3.x. Each major version of the library has 1 year support from the team. We are not setup to repro ADAL 3.x bugs, we always ask developers to upgrade (ideally to MSAL, as making changes in ADAL is unlikely).
from azure-activedirectory-library-for-dotnet.
Ok, got it. Are you able to reproduce with ADAL 5.x?
from azure-activedirectory-library-for-dotnet.
@Deloyuri yes, @trwalke is on point to try and repro w/5.x and iOS 14.5
from azure-activedirectory-library-for-dotnet.
@Deloyuri can you try updating to Xamarin iOS 14.14 and see if the issue repros there? There is an issue in mono, so you can either update the Xamarin iOS version to 14.14 or try passing in your own HttpClient, or updating to MSAL. Probably the move to 14.14 is least invasive to your app.
from azure-activedirectory-library-for-dotnet.
Related Issues (20)
- Refresh Tokens do not seem to work on iOS HOT 4
- Update nuget description to point to MSAL.NET HOT 1
- use specific proxy when call api #37049 HOT 2
- AcquireTokenSilentAsync always fails in UWP HOT 28
- Unable to Acquire Token using cert and subject name auth from Powershell ISE
- Update ADAL communication with Broker to stop using AccountManager::GetAccount HOT 1
- Exception of type 'Microsoft.Identity.Client.MsalClientException' was thrown: password_required_for_managed_user HOT 1
- AcquireDeviceCodeAsync Failing on Mac OS HOT 1
- user is not able to login HOT 3
- Missing PlatformParameters constructor for .net core version of MS.IdentityModel.Clients.ActiveDirectory HOT 1
- Cannot install. Install-Package: Dependency loop detected for package 'Microsoft.IdentityModel.Clients.ActiveDirectory' HOT 10
- MS Docs: Please clarify what AssertionTypes would be valid here, or provide links to other documentation. HOT 1
- User is not able to signin HOT 4
- Device Auth incorrectly attempted on .NET classic
- ADAL webview with secure certificate on App UWP HOT 1
- DeserializeAdalV3(byte[]) needs exceptions listed HOT 2
- Get token using certificate assertion throws keyset does not exist HOT 3
- AuthenticationParameters.CreateFromUnauthorizedResponseAsync() is async but doesn't need to HOT 1
- GetAuthorizationRequestUrlAsync breaking change adds response_type=form_post HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-activedirectory-library-for-dotnet.