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
177 stars 113 forks source link

Failed to get the default ADKeychainTokenCache #1584

Closed arsalangolestanekh closed 2 years ago

arsalangolestanekh commented 2 years ago

Hi, After ADAL 6.0.0 update I can not login

I receive error: IntuneMAM: (2021-11-01T17:50:44.031Z) MAMError: "Failed to get the default ADKeychainTokenCache" IntuneMAM: (2021-11-01T17:50:44.032Z) Failed to get the default ADKeychainTokenCache

Before I have replaced ADKeychainTokenCache with ADALKeychainTokenCache Logs are attached.

image logsIntune.txt

mipetriu commented 2 years ago

Hi @arsalangolestanekh, alongside the ADAL 6.0.0 update, the Microsoft Intune MAM SDK also published an update to be compatible with the naming updates introduced in ADAL 6.0.0. Do you mind trying to update the Intune MAM SDK as well, and see if that solves the issue?

arsalangolestanekh commented 2 years ago

Hi, @mipetriu, Yeah, I am trying to build with ADAL 6.0.0 with MAM 14.7.1 and Xcode 12.3 I am not sure if It is allowed to use 15.1.3 with Xcode 12.3. Will try to do it now

arsalangolestanekh commented 2 years ago

@mipetriu The same issue appears with 15.1.3

mipetriu commented 2 years ago

@arsalangolestanekh I misspoke about the state of the MAM SDK. I received the proper info - their team is currently working on supporting ADAL 6.0.0 now, and should have a release ready by mid-next week. I'm sorry for the confusion.

arsalangolestanekh commented 2 years ago

@mipetriu, thank you for update