Unable to access web app from Ipad browser with seamless Single Sign on failed error

Gundra, Vijay 1 Reputation point
2021-03-26T20:45:06.043+00:00

we have a Angular 8 web application which talks with Rest API's. able to access this application from web browsers in Laptop using https in chrome/firefox/ie but not able to access it from iPad corporate device in any of the browser including Safari/chrome App insights logs from page view show up the error as /#error=interaction_required&error_description=Seamless+single+sign+on+failed+for+the+user.+This+can+happen+if+the+user+is+unable+to+access+on +premises+AD+or+intranet+zone+is+not+configured+correctly AD is single Sign ON enabled and App is registered in Azure AD. is this any know issue or have any resolution. Note :- there are few users who could access the application in there iPad devices as well. This is happening for certain set of users.

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

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 33,801 Reputation points Microsoft Employee
    2021-03-30T20:24:48.783+00:00

    Please try unchecking "Prevent cross-site tracking" on your iPad browser and see if the site works.

    See Github workaround

    The thread also mentions adding acquireTokenRedirect:

    export const acquireTokenSilent = () => {
      const authority = getItem(lastUsedAuthority)
      if (!msalApp) {
        msalApp = initUserAgent(authority)
        clearItem(lastUsedAuthority)
      }
      const request = { scopes: B2C_SCOPES }
      return msalApp.acquireTokenSilent(request).then((response) => {
        return response
      })
        .catch(() => {
          return msalApp.acquireTokenRedirect(request)
        })
    }
    
    0 comments No comments