Okta Identity Cloud Single Sign-On (Okta SSO) is an industry leading cloud identity solution. Okta SSO has SAML and SWA options for browsers-based desktop applications. Okta SSO also offers Open ID Connect with mobile apps. Of course, not all mobile apps come pre-built with Open ID Connect. And, not all mobile apps come pre-built to rely on and trust Okta SSO for sign in.
This Knowledge Base article provides step-by-step instructions for using Appdome to add Okta SSO to any Android and iOS mobile app. Using Appdome to add Okta SSO, the mobile app will rely on and trust Okta SSO and include the in-app mechanisms to securely store, use, retrieve and update the authentication credentials passed from Okta SSO to the mobile app.
We hope you find this knowledge base useful and enjoy using Appdome!
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 integrate Okta SSO 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 adds Okta SSO and relevant standards, frameworks and more to the app automatically, with no manual development work at all. Using Appdome, mobile apps will use Okta SSO to authenticate users as if Okta SSO was natively coded to the app.
The following diagram illustrates the Single-Sign-On flow within the app when integrating Okta as a cloud provider:
In order to use Appdome’s no code implementation of Okta SSO on Appdome, you’ll need:
Log in to your Okta Cloud and retrieve the Okta Client ID. If you did not register an app in OKTA yet, you can see How to Register Applications in Okta Identity Cloud Single Sign-On
Follow these step-by-step instructions to add Okta SSO to Any Mobile 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 app and match the app to the relevant code-sets needed to add Okta SSO to the mobile app in seconds. For example, the technology of Open-ID Connect and Webview authentication, work that ordinarily a developer would need to do.
Congratulations! You now have a mobile app fully integrated with Okta SSO.
Building Single Sign-On inside Android and iOS apps involves several significant considerations. Perhaps the most significant consideration is “where” and “when” the Single Sign-On workflow will take place inside the app. Usually, an SSO workflow is initiated at the start of a login sequence. In this use case, the client and the server are built to handle the basic authentication sequence (User –> launches app –> enters credentials –> credentials verified by the server –> user issued a token or cookie allowing access to the app).
But, what if the app developer hasn’t or doesn’t want to build the app to support basic authentication? Or, what if the app developer wants more than the username and password provided in the basic authentication workflow (e.g., access to user details available in new authentication methods)? In these cases, Appdome-Threat Events provide a framework to pass user details contained in an OpenID and SAML authentication response to the app developer. This framework allows new flexibility to create custom SSO workflows inside an app using industry-standard methods to retrieve and pass user details between authentication services and mobile apps.
Okta authentication services usually connect on the backend to a store of user data and use SAML or OpenID to handle authentication requests. Using SAML and OpenID, applications have access to all the user and authentication details returned by the server backend (i.e. any data the backend implements).
Read this KB article to learn more.
After you have added Okta SSO to any Mobile App on Appdome, there are a few additional steps needed to complete your mobile integration project.
Appdome is a full-featured mobile integration platform. Within Context™, Appdome users can brand the app, including adding a favicon to denote the new service added to the app.
For more information on the range of options available in Context™, please read this knowledge base article.
In order to deploy an Appdome-Built app, it must be signed. Signing iOS apps and Signing Android apps are easy using Appdome. Alternatively, you can use Private Signing, download your unsigned app and sign locally using your own signing methods.
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 Okta SSO in your app!
If you have any questions, please send them our way at email@example.com or via the chat window on the Appdome platform.