{"id":27627511,"url":"https://github.com/fusionauth/fusionauth-quickstart-swift-ios-native-appauth","last_synced_at":"2025-04-23T13:55:00.799Z","repository":{"id":211982946,"uuid":"729177035","full_name":"FusionAuth/fusionauth-quickstart-swift-ios-native-appauth","owner":"FusionAuth","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-30T14:56:43.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-15T09:54:07.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FusionAuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-08T15:45:45.000Z","updated_at":"2025-02-27T19:37:30.000Z","dependencies_parsed_at":"2024-11-05T15:07:02.599Z","dependency_job_id":"5969da2b-6131-4c10-8dd6-c3d9a297c6d2","html_url":"https://github.com/FusionAuth/fusionauth-quickstart-swift-ios-native-appauth","commit_stats":null,"previous_names":["fusionauth/fusionauth-quickstart-swift-ios-native","fusionauth/fusionauth-quickstart-swift-ios-native-appauth"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-swift-ios-native-appauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-swift-ios-native-appauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-swift-ios-native-appauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-swift-ios-native-appauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-quickstart-swift-ios-native-appauth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250444581,"owners_count":21431671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-23T13:55:00.214Z","updated_at":"2025-04-23T13:55:00.791Z","avatar_url":"https://github.com/FusionAuth.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quickstart: Swift and SwiftUI for iOS with FusionAuth\nThis project contains an iOS application built with Swift and SwiftUI that works with a locally-running instance of [FusionAuth](https://fusionauth.io/), the authentication and authorization platform.\n\n## Setup\n\n### Prerequisites\nYou will need the following things properly installed on your computer.\n\n- [Xcode](https://developer.apple.com/xcode/): The official IDE for iOS development. Install it from the Mac App Store.\n- Optional: An Apple Developer Account: Necessary for running your app on a device and publishing your app. You can still develop and test the app in a simulator without an account.\n- [Docker](https://www.docker.com): The quickest way to stand up FusionAuth. Ensure you also have [docker compose](https://docs.docker.com/compose/) installed.\n- (Alternatively, you can [Install FusionAuth Manually](https://fusionauth.io/docs/v1/tech/installation-guide/)).\n\n### FusionAuth Installation via Docker\n\nThe root of this project directory _(next to this README)_ are two files: [a Docker compose file](./docker-compose.yml) and an [environment variables configuration file](./.env). Assuming you have Docker installed on your machine, you can stand up FusionAuth up on your machine with:\n\n```bash\ndocker compose up -d\n```\n\nThe FusionAuth configuration files also make use of a unique feature of FusionAuth, called [Kickstart](https://fusionauth.io/docs/v1/tech/installation-guide/kickstart): when FusionAuth comes up for the first time, it will look at the [Kickstart file](./kickstart/kickstart.json) and mimic API calls to configure FusionAuth for use when it is first run.\n\n\u003e **NOTE**: If you ever want to reset the FusionAuth system, delete the volumes created by Docker Compose by executing `docker compose down -v`.\n\nFusionAuth will be initially configured with these settings:\n\n* Your client Id is: `e9fdb985-9173-4e01-9d73-ac2d60d1dc8e`\n* Your client secret is: `super-secret-secret-that-should-be-regenerated-for-production`\n* Your example username is `richard@example.com` and your password is `password`.\n* Your admin username is `admin@example.com` and your password is `password`.\n* Your fusionAuthBaseUrl is `http://localhost:9011/`\n\nYou can log into the [FusionAuth admin UI](http://localhost:9011/admin) and look around if you want, but with Docker/Kickstart you don't need to.\n\n### Running the iOS App\n\n- Open the `ChangeBank.xcodeproj` file in this project's `complete-application` folder in [Xcode](https://developer.apple.com/xcode/).\n- Open the `ChangeBank.plist` file in the `complete-application` folder in a text editor.\n  - Change the issuer and clientId values to match that of your FusionAuth instance. If you used the default Docker and Kickstart, you don't need to change anything.\n\n- [Build and run the app](https://developer.apple.com/documentation/xcode/running-your-app-in-simulator-or-on-a-device/) following XCode guidelines. The app will open in the iOS simulator, or your connected iOS device. You can usually press the \"play\" button in the top left of XCode or press `command-r` to build and run the app with the default settings. \n\n### Further Information\n\nVisit [https://fusionauth.io/docs/quickstarts/quickstart-swift-ios-native](https://fusionauth.io/docs/quickstarts/quickstart-swift-ios-native) for a step-by-step guide on how to build this iOS app from scratch, including more details about the tenant and application settings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-swift-ios-native-appauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-swift-ios-native-appauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-swift-ios-native-appauth/lists"}