Is SSO possible between a Native App and Regular Web App?

Overview

This article explains whether Auth0 can provide Single Sign-On (SSO) between a native application and a regular web application that both use Universal login if they are using the same database.

Applies To

  • Universal Login
  • Applications
  • SSO

Solution

This will depend on the SDKs used for the Regular Web App and the Native App.

  • If an SDK like Auth0.Swift is used in the mobile app, the browser where the login page is opened shares the cookie jar with the device’s default web browser. SSO between the mobile app and the web app should be possible.
  • If a Native SDK opens the login page in a WebView, it does not share the cookies from the default browser. As such, it is not possible to re-use the session created by the Regular Web App.