AzureAD / microsoft-authentication-library-common-for-android

Common code used by both the Active Directory Authentication Library (ADAL) and the Microsoft Authentication Library (MSAL)
MIT License
41 stars 35 forks source link

Adding check for OS version for passkeys #2419

Closed melissaahn closed 4 months ago

melissaahn commented 5 months ago

Summary

According to the Credential Manager documentation, passkeys are only available for devices running on Android 9 (API 28) and above. I'm adding a check before most of the logic in AuthFidoChallengeHandler so that we can swiftly end the logic and return a message to the server.