{"repo":"auth0/Lock.swift","free":true,"listed":false,"github":"https://github.com/auth0/Lock.swift","clone":"git clone https://github.com/auth0/Lock.swift.git","description":"A Swift & iOS framework to authenticate using Auth0 and with a Native Look & Feel","language":"Swift","stars":264,"topics":["lock","social-authentication","auth0","ios","swift","authentication","oauth2","jwt","dx-sdk"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"📚 Documentation • 🚀 Getting Started • 💬 Feedback Migrating from v1? Check the Migration Guide. Documentation - Examples - explains how to use Lock.swift. - Auth0 Documentation - explore our docs site and learn more about Auth0. Getting Started Requirements - iOS 9+ - Xcode 13.x / 14.x - Swift 4.x / 5.x Lock.swift uses Auth0.swift 1.x . Installation Cocoapods Add the following line to your Podfile : Then, run pod install . Carthage Add the following line to your Cartfile : Then, run carthage bootstrap --use-xcframeworks --platform iOS . Swift Package Manager Open the following menu item in Xcode: File Add Packages... In the Search or Enter Package URL search box enter this URL: Then, select the dependency rule and press Add Package . Configure the SDK Head to the Auth0 Dashboard and create a new Native application. Lock.swift needs the Client ID and Domain of the Auth0 application to communicate with Auth0. You can find these details in the settings page of your Auth0 application. If you are using a custom domain, use the value of your custom domain instead of the value from the settings page. Configure Client ID and Domain with a plist Create a plist file named Auth0.plist in your app bundle with the following content: Configure Client ID and Domain programmatically For Classic Lock For Passwordless Lock Configure your app Make sure Lock.swift can receive callback URLs. Using the UIKit app lifecycle Using the UIKit app lifecycle with Scenes Next steps Learn how to use Lock","default_branch":null,"files":null,"tree":[],"storefront":"/r/auth0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/auth0/Lock.swift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}