Advanced Samples

improve this page | report issue


Discover advanced implementation examples for real-life use cases such as SMS One-Time-Password, LDAP server connectivity, Social Login, License agreement, Trusted Devices and more…

Missing a sample? Open an issue on to let us know.

Gradually Rollout New Features in your Mobile App with IBM MobileFirst Foundation 8.0

Let’s say you are a marketing director of a global retailer, and you have an amazing idea about how to get more customers into your stores. Your kids have been enthusiastically playing the new Pokemon Go game, running around your neighborhood to collect augmented reality Pokemon, and you are impressed with how addictive the game is. It occurred to you that you could build a game around coupon collection modeled after Pokemon GO, in which customers would use your app to collect AR coupons in their surroundings, that they can then redeem in store. How cool! Continue reading…

Analytics, Live Update

Limit the Number of Devices per Authenticated User with IBM MobileFirst Foundation 8.0

Imagine you are a CIO of a big airline company. Your company just decided to invest in a shiny new in-flight entertainment system. The system will allow passengers to bring their own devices and connect them to the In-flight entertainment system. To help grow the company revenue, you decide to let the passengers buy a premium entertainment package, so they will be able to watch the latest movies and series on their devices. Continue reading…

Authentication, Device management

Implementing Social Login Authentication with IBM MobileFirst Foundation 8.0 - Part 1

Social Login has become a common authentication method in many mobile apps. App owners and users understand the big value it gives them. Users can now sign in to apps from their favorite social platform, such as Facebook or Google. This method makes life easier for the users, and also can give the app owner the ability to leverage the information from the social platform (for example, profile picture, users friends, feed, etc). App owners can maximize the user engagements with such capabilities. Continue reading…


Leverage Social Login In IBM MobileFirst Foundation 8.0 - Part 2

Social Login by itself is good and gives values to app owners and users. In addition, you can leverage social login and get more value from it. Facebook, for example, lets you query their Graph API to get more contents such as user feeds, user friends, pictures. Some of the API requires additional permissions from the user, but sometimes basic info like profile picture is enough from the app users. Continue reading…


Add trusted devices with IBM MobileFirst Foundation 8.0

Many of the apps you use every day, like your favorite chat and email apps, are available to you in multiple channels - like web and mobile. And you probably appreciate it if you can transition seamlessly between the two, even when it comes to authentication. Entering your credentials over and over on each device can be frustrating. What if your browser could somehow know that you already authenticated in your mobile app? Continue reading…

Authentication, Device management

Implementing SMS One-Time-Password Authentication with IBM MobileFirst Foundation 8.0

SMS One-Time-Password(OTP) is essential authentication method in every modern mobile application. SMS authentication and/or number verification gives your app good balance between security and user experience. More and more retails and banking apps use this method as their main authentication method. Continue reading…

Authentication, SMS

Working with LDAP and LTPA in IBM MobileFirst Foundation 8.0

The ability to connect an application to a user registry is an important ability. You might want your users to be able to connect to your back-end systems with the same credentials that they use to connect to other resources in the enterprise, or you just need to connect the user to the registry. LDAP is an established protocol for connecting to a user registry. Continue reading…

Authentication, LTPA, LDAP

Connecting to LDAP servers with IBM MobileFirst Foundation 8.0

LDAP (Lightweight Directory Access Protocol) is an essential protocol in the enterprise world. It provide a central place to store usernames and passwords and allowing many different applications and services to connect to the LDAP server to validate users. Continue reading…

Authentication, LDAP

Implementing License Agreement Signature using MobileFirst Foundation 8.0

With MobileFirst Foundation it is fairly straight forward to develop this functionality and make sure it is enforced. The security framework provides the infrastructure to orchestrate sending the license agreement only to users who haven’t signed it, and resend when it changes. You can also update the terms & conditions remotely from the Foundation console, and make sure your users sign the new version, without any downtime or code changes. Continue reading…


Add Login Approvals to Your Digital Channels with IBM MobileFirst Foundation 8.0

Account hijacking can be a major problem. There are many ways hackers can steal passwords to users accounts, like phishing, or hacking into a central database where user credentials are stored. To protect users accounts, many companies add a second layer (or more) of security to user sign-ins & transactions called multi-factor authentication. Continue reading…


Mobile App Personalization with IBM MobileFirst Foundation 8.0

Personalization is king. It’s no secret that when companies make us feel special, we are more engaged, satisfied, and likely to buy more from them. Just think of the last time you browsed Amazon, or your Instagram feed. Therefore it should come at no surprise that when Forrester recently surveyed 115 digital experience technology decision makers, they found that 68% marked bringing personalized experiences to their customers as a top investment priority for 2016. This also indicates that personalization is really only still in its infancy, particularly in digital channels other than websites, like in mobile apps. Continue reading…

Live Update

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on July 02, 2020