microsoft-authentication-library-for-objc icon indicating copy to clipboard operation
microsoft-authentication-library-for-objc copied to clipboard

Feature request - API to allow apps to use their own NSURLSessionConfiguration

Open ghost opened this issue 5 years ago • 3 comments

MSAL uses the default NSURLSessionConfiguration in MSIDURLSessionManager.m In our application, we need to use a custom protocol handler for https because we support two-factor authentication with a smart card. If there were an API so the app could choose a different NSURLSessionConfiguration, we could use MSAL directly without modifying it making integration much easier. This could be done with just a few lines changed in MSIDURLSessionManager.m

ghost avatar Mar 15 '19 21:03 ghost

@antrix1989 Is extensibility of network requests covered by configuration work?

oldalton avatar Mar 17 '19 00:03 oldalton

@danieldobalian FYI

oldalton avatar Mar 17 '19 00:03 oldalton

Current implementation of MSIDURLSessionManager is flexible enough to support this request, but we don't have any public API for that. We are considering adding this option to the public API.

antrix1989 avatar Mar 18 '19 19:03 antrix1989