This disclosure pertains generally to apps for mobile computing devices, and more specifically to using out-of-app based partner aware user authentication in partner aware apps in different environments, including but not limited to sandboxed operating systems.
This application is related to co-pending utility application Ser. No. 13/920,006, titled “Provisioning Partner Aware Apps on Sandboxed Operating Systems” (the “App Provisioning Application”). The App Provisioning application was filed on Jun. 17, 2013, and has the same inventors, assignee and applicant as the present application. The App Provisioning application is incorporated herein by reference in its entirety.
Mobile computing devices such as smartphones and tablet computers are becoming more widely used every day. There are multiple mobile operating systems available for different mobile computing devices, each with a wide variety of available apps. Users can install apps on their mobile devices by downloading them from an online app store that provides apps for their particular mobile operating system.
Apple's iOS (formerly known as iPhone OS) is a mobile operating system that runs on Apple mobile devices such as the iPhone, the iPad and the iPod Touch. Many applications (“apps”) for iOS are available for download from Apple's App Store. Android is an open-source, Linux based operating system for mobile devices. A large community of developers write apps that run on Android devices. Android apps are available online through Google Play (formerly the Android Market). Windows Phone is a mobile operating system developed by Microsoft. Users can download apps for Windows Phone from Microsoft's Windows Phone Marketplace. Apps for Windows Metro (the tile-based “modern UI” component of Windows 8) and Windows RT (a version of Windows 8 for portable devices based on ARM processors such as Microsoft's Surface Tablet) can be purchased and downloaded from Microsoft's Windows Store. Another example of a mobile operating system is Blackberry OS (the latest version is Blackberry 10) from BlackBerry Limited (formerly Research In Motion). Blackberry OS apps are downloaded from the BlackBerry World Storefront.
Many mobile operating systems such as iOS, Android and Windows Phone run each app in a separate sandbox, which is an isolated area that does not have access to the rest of the system's resources, unless permissions are explicitly granted. A sandbox is a tightly controlled environment, providing limited areas of storage and memory for the app, and restricting or disallowing access to system and hardware resources such as network, input devices, current location, contacts, etc. Typically, a sandboxed app is only allowed to access files inside its own storage area, and cannot change system settings. Operating systems that runs apps in this manner are sometimes referred to as sandboxed operating systems. In addition to operating systems for tablets, smartphones and the like, some operating systems for laptop and desktop computers also run sandboxed apps, such as Windows 8 and MacOS.
Providers of apps, such as commercial software publishers, often create partnerships with separate organizations, such as internet service providers (ISPs) or retailers. Under these partnerships, it is desirable to provide partner specific branding, authentication and other targeted features as part of the app. In this context, a given software publisher may enter into separate arrangements with multiple parties to provide partner specific versions of the same underlying app. For example, a publisher of a security app may have a partnership with an ISP, a separate partnership with a retailer of tablets and a third partnership with a cell phone carrier. In this case, it would be desirable for the app provider to distribute a separate, partner-aware version of the security app to each partner's customers (e.g., the ISP subscribers, the tablet purchasers and the cellular service customers). In other words, each partner wants a version of the app to be provided to its customers that includes its own specific branding and other targeted features.
One feature the partners often want in such a scenario is to provide their own authentication of users. Providing third party authentication securely for a partner within an app creates some specific difficulties. This issue is compounded by the fact that providing third party authentication for multiple partners from a single app requires integrating with multiple third party authentication services and identity providers (“IdPs”). An identity provider (IdP), sometimes called an identity service provider or identity assertion provider, is an online service or website that authenticates users by means of security tokens (sometimes called identity tokens, authentication tokens or software tokens). Note that many service providers are also IdPs, and an IdP can provide services in addition to identity services.
Conventionally, secure third party authentication is performed via a browser, using industry standards such as SAML, OpenID and OAuth, which support authentication by multiple IdPs. However, this is not practicable for an app on a sandboxed operating system. The app can initiate the authentication process through the browser, but the sandboxed nature of the operating system makes it impossible to communicate an authenticated identity back from the browser to the app.
It would be desirable to address these issues.
An app runs on a user operated computing device, such as a mobile device running a sandboxed operating system. Out-of-app based third party authentication of the user is performed, for a specific partner of the app publisher. The app requests and receives a secure session ID (“session ID”) from an identity provider of the app publisher (“the publisher Idp”). The app registers for notifications on the secure session ID with a notification service. The app then directs a browser to navigate to the publisher IdP, and to pass it the secure session ID and a partner identifier (“partner ID”) of the specific partner as parameters. The publisher IdP returns (and the browser receives) a redirect (e.g., an HTTP 302 redirect) to a third party identity provider (“third party IdP”) used by the specific partner to authenticate users, the redirect being based on the partner ID. The browser navigates to the third party IdP, responsive to the received redirect. The third party IdP prompts the user for authentication credentials, which are entered by the user and transmitted to the third party IdP by the browser. The third party Idp uses the credentials to authenticate the user, and redirects the authentication result to the publisher IdP (e.g., using SAML). The publisher IdP sends a notification on the session ID that the third party IdP successfully authenticated the user, and the app receives the notification from the notification service. In response, the app calls the publisher IdP with the session ID, and receives a secure authentication token, which the app can use to login to multiple publisher provided services. In some cases, the app uses an additional third party IdP to authenticate the user to an additional partner.
The features and advantages described in this summary and in the following detailed description are not all-inclusive, and particularly, many additional features and advantages will be apparent to one of ordinary skill in the relevant art in view of the drawings, specification, and claims hereof. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter.
The Figures depict various embodiments for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles described herein.
Clients 103 and servers 105 can be implemented using computer systems 210 such as the one illustrated in
Although
Other components (not illustrated) may be connected in a similar manner (e.g., document scanners, digital cameras, printers, etc.). Conversely, all of the components illustrated in
The bus 212 allows data communication between the processor 214 and system memory 217, which, as noted above may include ROM and/or flash memory as well as RAM. The RAM is typically the main memory into which the operating system and application programs are loaded. The ROM and/or flash memory can contain, among other code, the Basic Input-Output system (BIOS) which controls certain basic hardware operations. Application programs can be stored on a local computer readable medium (e.g., hard disk 244, optical disk 242) and loaded into system memory 217 and executed by the processor 214. Application programs can also be loaded into system memory 217 from a remote location (i.e., a remotely located computer system 210), for example via the network interface 248 or modem 247. In
The storage interface 234 is coupled to one or more hard disks 244 (and/or other standard storage media). The hard disk(s) 244 may be a part of computer system 210, or may be physically separate and accessed through other interface systems.
The network interface 248 and or modem 247 can be directly or indirectly communicatively coupled to a network 107 such as the Internet. Such coupling can be wired or wireless.
As illustrated in
As illustrated in
The app 301 makes a request to the publisher IdP 315publisher for a secure session identifier (session ID) 317, which is returned by the IdP 315publisher to the app 301. As used herein, a “session ID” 317 means data that is used in network communications to identify a session, which is a series of related message exchanges. The session ID 317 can be made secure against hijacking by utilizing randomness and/or length. The specific format of the session ID 317 as well as the requisite amount of randomness and length to utilize can vary between embodiments.
Once the app 301 receives the secure session ID 317 from the publisher IdP 315publisher, the app 301 proceeds to register for notifications on the secure session ID 317, using a conventional notification service 309. Thus, the notification service listens for notifications 319 on the secure session ID 317, and sends any notifications 319 to the registered app 301. The app 301 uses the browser 313 to navigate to the publisher IdP 315publisher, passing both the secure session ID 317 and the partner ID 303 as parameters. For example, the app 301 can launch the browser with the URL of the publisher IdP 315publisher, with the secure session ID 317 and the partner ID 303 as URL parameters. This directs the browser to navigate to the publisher IdP 315publisher, and pass it the secure session ID 317 and the partner ID 303.
The app publisher's IdP 315publisher uses the partner ID 303 to redirect to the partner's IdP 315third
The partner's IdP 315third
The partner's IdP 315third
Thus, the partner aware user authentication system 101 enables a single app 301 on a client computer 210, including an app 301 on a sandboxed operating system 307 on, e.g., a mobile device 311, to provide third party authentication. This is true even where a single version of the app 301 is downloaded from an app store for use with multiple partners, each of which requires the use of separate third party authentication.
As will be understood by those familiar with the art, the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Likewise, the particular naming and division of the portions, modules, agents, managers, components, functions, procedures, actions, layers, features, attributes, methodologies, data structures and other aspects are not mandatory or significant, and the mechanisms that implement the invention or its features may have different names, divisions and/or formats. The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or limiting to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain relevant principles and their practical applications, to thereby enable others skilled in the art to best utilize various embodiments with or without various modifications as may be suited to the particular use contemplated.
Number | Name | Date | Kind |
---|---|---|---|
8417952 | Cheng et al. | Apr 2013 | B2 |
8453226 | Hammad | May 2013 | B2 |
20090300747 | Ahn | Dec 2009 | A1 |
20110055567 | Sundaram et al. | Mar 2011 | A1 |
20120066757 | Vysogorets et al. | Mar 2012 | A1 |
20120204032 | Wilkins et al. | Aug 2012 | A1 |
20130111208 | Sabin et al. | May 2013 | A1 |
20130247147 | Pontillo et al. | Sep 2013 | A1 |