The iOS Example App is using the Onegini iOS SDK to perform secure authentication and resource calls. Please have a look at the App developer quickstart if you want more information about how to get setup with this example app.
The Example app includes the SDK as SPM private repository. In order to let SPM download it you need to setup your account details so the SDK can be automatically downloaded:
- Make sure that you have access to the OneWelcome Artifactory repository (https://repo.onewelcome.com). If not please follow first step of App developer quickstart.
- Follow Setting up the project guide in the SDK documentation for instructions on configuring access to the OneWelcome Cocoapods repository.
- Set SPM registry with a following command:
swift package-registry set --global https://repo.onewelcome.com/artifactory/api/swift/swift-snapshot-local --netrc
The example app is already configured with the token server out of the box.
If there is a need to change the token server configuration within the example app it is going to be best to do it using the Onegini SDK Configurator. Follow
the steps as described in: https://github.com/onewelcome/sdk-configurator