You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the Intune App SDK for Android to integrate Azure sign-in with our app's sign-in.
When the user enters an email address in our app to sign-in, we use the SDK to enroll the user via registerAccountForMAM. During the acquireToken() phase, the user authenticates with Azure by entering their password in a WebView generated by...the SDK?...the Portal? The result is a token, that when passed to our identity broker, allows them to finish logging into our app.
The problem I have is on sign-out. The user's credentials and data are cleared from the app, the account is removed and unregistered using the SDK. And from the detailed logging handler (MAMLogHandler) I have registered, I can see the account get un-enrolled and a wipe triggered by the protection policy. However, when the same user launches the app and enters their email address, there is no WebView screen asking for their password; instead a cached token is returned, allowing sign-in to complete.
I have tried numerous approaches to clear the cache for WebView, but nothing has helped. Any suggestions would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are using the Intune App SDK for Android to integrate Azure sign-in with our app's sign-in.
When the user enters an email address in our app to sign-in, we use the SDK to enroll the user via registerAccountForMAM. During the acquireToken() phase, the user authenticates with Azure by entering their password in a WebView generated by...the SDK?...the Portal? The result is a token, that when passed to our identity broker, allows them to finish logging into our app.
The problem I have is on sign-out. The user's credentials and data are cleared from the app, the account is removed and unregistered using the SDK. And from the detailed logging handler (MAMLogHandler) I have registered, I can see the account get un-enrolled and a wipe triggered by the protection policy. However, when the same user launches the app and enters their email address, there is no WebView screen asking for their password; instead a cached token is returned, allowing sign-in to complete.
I have tried numerous approaches to clear the cache for WebView, but nothing has helped. Any suggestions would be appreciated.
(I am following the documentation from: https://learn.microsoft.com/en-us/mem/intune/developer/app-sdk-android-phase4, and using
the Taskr sample app for Android: https://github.com/msintuneappsdk/Taskr-Sample-Intune-Android-App, for comparison.)
Beta Was this translation helpful? Give feedback.
All reactions