AzureAD / azure-activedirectory-library-for-objc

The ADAL SDK for Objective C gives you the ability to add support for Work Accounts to your iOS and macOS applications with just a few lines of additional code. This SDK gives your application the full functionality of Microsoft Azure AD, including industry standard protocol support for OAuth2, Web API integration with user level consent, and two factor authentication support.
MIT License
178 stars 113 forks source link

ADAL 2.5.1 domain hint with Authenticator not working #1504

Closed aleUnix closed 4 years ago

aleUnix commented 4 years ago

the method in ADAuthenticationContext.h "- (void)acquireTokenWithResource:(NSString)resource clientId:(NSString)clientId redirectUri:(NSURL)redirectUri userId:(NSString)userId extraQueryParameters:(NSString*)queryParams completionBlock:(ADAuthenticationCallback)completionBlock"

if the login process is managed from Microsoft Authenticator app, extraQueryParameters filled with value: "domain_hint=xxx.com" don't work.

This query params work correctly in sts web page.

aleUnix commented 4 years ago

This issue remains present in the same way regarding the latest ADAL version 2.7.16

oldalton commented 4 years ago

Thanks, we agree that it might be useful to allow domain_hint in the broker, but we don't have an exact timeline for the fix yet. We'll update this issue once we have a timeline for the fix.

antrix1989 commented 4 years ago

We don't have plans to fix this at the moment.