Propagating Single-Sign-On Cookies To All Domains

Tokens received from authentication are generally associated with the specific domains from which they were received. In cases when the authentication domain is different than that of the protected resource – tokens might not be associated with the protected resource.
Applications might, in several scenarios, need the ability to propagate authentication cookies to all domains.

This Knowledge Base article provides step-by-step instructions for using Appdome to propagate Single-Sign-On cookies to all domains within any Android and iOS mobile app.

We hope you find this knowledge base useful and enjoy using Appdome!

About Propagating Single-Sign-On Cookies To All Domains

Appdome is a mobile integration platform as a service (iPaaS) that allows users to add a wide variety of features, SDKs and APIs to Android and iOS apps. Using a simple ‘click to add’ user interface, Appdome allows anyone to easily propagate SSO cookies to any mobile app – instantly, no code or coding required.

Using Appdome, there are no development or coding prerequisites. For example, there is no Appdome SDK, libraries, or plug-ins to implement. Likewise, there are no required infrastructure changes and no dependency on SAML, OAuth, OpenID Connect or any other authentication standard inside the app. The Appdome technology can propagate SSO cookies to all domains and more to the app automatically, with no manual development work at all. Using Appdome, mobile apps will be able to propagate SSO cookies as if it was natively coded to the app.

As part of defining the organization’s authentication infrastructure, you would like to protect certain resources that mobile apps might need to use and limit the access to those resources by having the user authenticate with one of the SSO providers or supported protocols. The application then needs to go through authentication when it tries to access a protected resource. After authenticating the application receives a token with which it can authenticate further, without the need for user interaction, until the token expires. This means that after authentication, the token needs to be passed along with requests the Application makes for the resource.

Appdome allows you to easily choose the authentication provider/scheme and define which resources should be protected. Once the application is built the authenticator will be activated automatically when needed and the token will be managed by Appdome and passed to requests as needed. Furthermore, Appdome will automatically recognize when the token has expired and will require authentication again.

Prerequisites:

In order to use Appdome’s no code Cookies Groups on Appdome, you’ll need:

How to Propagate Single-Sign-On Cookies To All Domains to Any Mobile App on Appdome

Follow these step-by-step instructions to add Cookies Groups to any mobile Application:

Upload a Mobile App to Your Account

Please follow these steps to add a mobile apps to your Appdome account.
If you don’t have an Appdome account, click here to create an account.

From the “Build” tab, Add Cookies Groups

Select the Build TabNote: a blue underline will appear showing the step is active

Beneath the Build Tab, you will find several service options. Select AuthenticationNote: a blue highlight will appear showing the category is active. 

  1. Configure your desired SSO provider as described in Appdome for Single Sign-on
  2. Open the Scheme drop-down list named Advanced Settings
  3. In the Advanced Settings, add domains to the Cookies Groups list

4. When finished, click Build My App.

The technology behind Build My App has two major elements – (1) a microservice architecture filled with 1000s of code sets needed for mobile integrations, and (2) an adaptive code generation engine that can recognize the development environment, frameworks and methods in each application and match the application to the relevant code-sets needed to add Cookies Groups to the mobile app in seconds.

Congratulations! You now have a mobile app fully integrated with Cookies Groups.

After Adding Cookies Groups to a Mobile App on Appdome

After you have added Cookies Group so any mobile app on Appdome, there are a few additional steps needed to complete your mobile integration project.

Add Context™ to the Appdome-Built Application

Appdome is a full-featured mobile integration platform. Within Context™, Appdome users can brand the application, including adding a favicon to denote the new service added to the application.
For more information on the range of options available in Context™, please read this knowledge base article.

Sign the Appdome-Built Application (Required)

In order to deploy an Appdome-built app, it must be signed. Signing iOS app and Signing an Android app are easy using Appdome. Alternatively, you can use Private Signing, download your unsigned app and sign locally using your own signing methods.

Deploy the Appdome-Built Application to a Mobile Device

Once you have signed your Appdome-built app, you can download to deploy it using your distribution method of choice. For more information on deploying your Appdome-built apps, please read this knowledge base.

That is it – Enjoy Appdome for Cookies Groups in your application!

How Do I Learn More?

Check out the Appdome blog or request a demo at any time.

To zoom out on this topic, visit  Appdome for Mobile Identity on our website.

If you have any questions, please send them our way at support@appdome.com or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.

Gil Hartman

Have a question?

Ask an expert