Skip to main content

Web3Auth Single Factor Auth Swift SDK

You can use the Web3Auth Single Factor Auth Swift SDK as a library for your iOS, and macOS app to authenticate users through Web3Auth. The SDK is written in Swift and allows for native use of the One Key flow, which starts with just one share of the key. This means that users can authenticate without redirection in a single key pair flow.

Using the Web3Auth SFA Swift SDK, you can authenticate users and reconstruct their private keys quickly and easily. Additionally, you can use the Web3Auth Plug and Play iOS SDK to redirect users to a Web3Auth-hosted screen (https://auth.web3auth.io), which is suitable for most use cases. However, if you want more control over the UI and UX of the authentication process, you can customize the authentication flow to avoid redirection. This is possible with the new Web3Auth SFA Swift SDK, which allows you to use Web3Auth SFA Swift and prevent redirection to Auth Service hosted screens.

Requirements

  • iOS 14+
  • Xcode 12+
  • Swift 5.x
  • macOS 11+
note

The minimum pricing plan to use this SDK in a production environment is the Growth Plan since custom verifier setup is a needed feature for Core Kit SDKs. You can use this SDK with all features enabled in sapphire_devnet for free.

Resources

  • Quick Start: Get Started with an easy to follow integration of Web3Auth

  • Example Applications: Explore our example applications and try the SDK yourself.

  • Troubleshooting: Find quick solutions to common issues faced by developers.

  • Source Code: Web3Auth is open sourced. You can find the source code on our GitHub repository.

  • Community Support Portal: Join our community to get support from our team and other developers.

Common Questions

The following questions can be answered using the information on this page:

  1. What is Web3Auth's Single Factor Auth Swift SDK and what does it do?
  2. How is SFA Swift SDK different from Plug and Play iOS SDK?
  3. What are the system requirements for using Web3Auth SFA with iOS?
  4. What pricing plan is required for using iOS SFA in production?
  5. How does the One Key flow work in Swift SFA SDK?
  6. How do I handle authentication without redirection in iOS?
  7. Which Apple platforms are supported by Web3Auth SFA?
  8. Where can I find example iOS applications using Web3Auth SFA?
  9. Is Web3Auth's Swift SFA SDK open source?
  10. Where can I get support for Web3Auth iOS SFA implementation?