Level: Beginner
Technologies: Swift 4.0, iOS
Summary: A basic example how to use OTP
The Two-Factor
app demonstrates how to generate OTP tokens using Keycloak for the server side.
- iOS9, iOS10, iOS11
- Xcode 9+
- Follow directions to install OTP-Demo
- Open OTP backend app http://localhost:8080/otp-demo
- Login with username: user and password: password.
- Now open iOS OTP client application on your phone
- Then scan the Scan QRCode
- On the OTP backend, enter the current OTP displayed on your mobile
For more details, please refer to our documentation
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