4D for iOS: Email authentication

Monitoring access to your mobile app is a very important capability that deserves further consideration. Email validation is one of the simplest and most secure ways to determine the authenticity and legitimacy of the person trying to log into your app. 4D for iOS enables you to easily handle this validation process by verifying that an email comes from whom it claims to be sent from, and by allowing you to block harmful uses of the email.

Basically, the process updates a user’s session status to give them access to the application

A simple validation process

The process can be summarized in three, straightforward steps:

  1. When a user enters their email address in the login form and clicks on the Login button, their session status will be updated to “pending” status.
  2. A validation email is then sent to the user, who will just need to click on the email validation link to update their session status from “pending” to “accepted”.
  3. Once the validation process is complete, the user can reopen the app and because their session status is “accepted”, access is now granted.

The documentation is available to help you manage your first email authentications and fully understand the process.

A component to manage sessions

The component that handles and makes the process easier is also available so you can adapt the authentication to suit your own needs. Feel free pick and choose the aspects that are relevant to you. And of course, all contributions are welcome to this project in the form of feedback, bug reports, and even better – pull requests!

David Azancot
• 4D for iOS Product Owner •David Azancot joined the 4D Product team as a Product Owner in 2017. He's in charge of writing the user stories and translating them into functional specifications. His role also includes making sure that feature implementations meet customers' needs.David graduated with an MBA in Marketing, Internet and Mobility from the Leonard De Vinci Institute and began his career in 2011 with a mobile start-up company, later acquired by Madvertise (a mobile marketing group). Passionate about mobile interfaces, he was the natural choice to develop interactive mobile ad formats for the group in 2015. In parallel, David has been developing his own iOS and Android applications since 2012.