Add Authentication to Your iOS Apps With Centralized Login, Part 2

Welcome back! If you missed Part 1, you can check it out here.

Add Authentication to Your iOS App

For our example, we will implement two iOS apps using Swift. Our applications will use Auth0 as the authorization server. Auth0 allows clients to log in using different identity providers and many more features (such as passwordless logins, classical username + password, etc.) One application will interact with the authorization server directly by following the usual OpenID Connect process for authentication. It will use Safari as the application handling the credentials and the login flow. The other application will use Auth0 for iOS library, to further simplify our code. This library can interact with Safari for us, making things even easier! Both applications fully implement the recommended procedure for mobile authentication, it is up to you to pick whatever you prefer for your own apps.

Read full news article on Dzone

 


Date:

Categorie(s):