Can you log in through MSAL without having a webview (Android)

Kevin Trancoso 21 Reputation points


When signing in with MSAL on android, it opens a webview where you can type your login/password stuff.

I would like to know if it's possible to sign in to MSAL without using that webview and therefore send the login/password silently.



Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,852 questions
{count} votes

Accepted answer
  1. Shweta Mathur 28,191 Reputation points Microsoft Employee

    Hi @Kevin Trancoso ,

    Thanks for reaching out.

    I understand you are looking to login without using webview.

    This can be achieved using Single sign-on (SSO) allows users to only enter their credentials once and have those credentials automatically work across applications. There are two ways for applications using MSAL for Android to achieve SSO:

    If application is using web view, then SSO can be achieved using system browser.

    If the application uses MSAL with a broker like Microsoft Authenticator or Intune Company Portal, then users can have a SSO experience across applications if they have an active sign-in with one of the apps using shared cookie.

    Reference :

    Hope this will help.



    Please remember to "Accept Answer" if answer helped you.

    0 comments No comments

0 additional answers

Sort by: Most helpful