Skip to content

Latest commit

 

History

History

Two-Factor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Two-Factor


Level: Beginner
Technologies: Swift 4.0, iOS Summary: A basic example how to use OTP

What is it?

The Two-Factor app demonstrates how to generate OTP tokens using Keycloak for the server side.

How do I run it?

0. System Requirements

  • iOS9, iOS10, iOS11
  • Xcode 9+

Configuring a testing server

  1. Follow directions to install OTP-Demo
  2. Open OTP backend app http://localhost:8080/otp-demo
  3. Login with username: user and password: password.
  4. Now open iOS OTP client application on your phone
  5. Then scan the Scan QRCode
  6. On the OTP backend, enter the current OTP displayed on your mobile

For more details, please refer to our documentation

Build Application

The project uses CocoaPods for handling its dependencies. As a pre-requisite, install CocoaPods and then install the pod. On the root directory of the project run:

pod install
open TwoFactorOTP.xcworkspace