{"id":20844529,"url":"https://github.com/pushpabrol/auth0-swift-standard-sample","last_synced_at":"2026-04-21T12:32:25.099Z","repository":{"id":92529475,"uuid":"489406506","full_name":"pushpabrol/auth0-swift-standard-sample","owner":"pushpabrol","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-04T19:51:22.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T02:31:10.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/pushpabrol.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-06T15:32:54.000Z","updated_at":"2022-05-06T15:34:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2e1068c-b76c-43b6-a42c-914f3aab0e86","html_url":"https://github.com/pushpabrol/auth0-swift-standard-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pushpabrol/auth0-swift-standard-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fauth0-swift-standard-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fauth0-swift-standard-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fauth0-swift-standard-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fauth0-swift-standard-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pushpabrol","download_url":"https://codeload.github.com/pushpabrol/auth0-swift-standard-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fauth0-swift-standard-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32091854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2024-11-18T02:09:53.169Z","updated_at":"2026-04-21T12:32:25.082Z","avatar_url":"https://github.com/pushpabrol.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift Sample Application\n\nThis sample application demonstrates the integration of the [Auth0.swift](https://github.com/auth0/Auth0.swift) SDK into a Swift iOS / macOS application. The sample is a companion to the [Auth0 Swift Quickstart](https://auth0.com/docs/quickstart/native/ios-swift).\n\n## Requirements\n\n- iOS 15+ / macOS 11+\n- Xcode 13.x\n\n## Configuration\n\n### 1. Configure Bundle Identifier\n\nOpen `SwiftSample.xcodeproj` in Xcode and go to the settings of the application target you want to run. There are two application targets available: **SwiftSample (iOS)** and **SwiftSample (macOS)**. In the **General** tab, change the default bundle identifier from `com.auth0.samples.SwiftSample` to another value of your choosing.\n\n### 2. Configure Auth0 Application\n\nGo to the settings page of your [Auth0 application](https://manage.auth0.com/#/applications/) and add the corresponding URL to **Allowed Callback URLs** and **Allowed Logout URLs**, according to the application target you want to run. If you are using a [Custom Domain](https://auth0.com/docs/brand-and-customize/custom-domains), replace `YOUR_AUTH0_DOMAIN` with the value of your Custom Domain instead of the value from the settings page.\n\n#### SwiftSample (iOS)\n\n```text\nYOUR_BUNDLE_IDENTIFIER://YOUR_AUTH0_DOMAIN/ios/YOUR_BUNDLE_IDENTIFIER/callback\n```\n\n#### SwiftSample (macOS)\n\n```text\nYOUR_BUNDLE_IDENTIFIER://YOUR_AUTH0_DOMAIN/macos/YOUR_BUNDLE_IDENTIFIER/callback\n```\n\nE.g. if your iOS bundle identifier was `com.company.myapp` and your Auth0 Domain was `company.us.auth0.com`, then this value would be:\n\n```text\ncom.company.myapp://company.us.auth0.com/ios/com.company.myapp/callback\n```\n\n\u003e ⚠️ Make sure that the [application type](https://auth0.com/docs/configure/applications) of the Auth0 application is **Native**. If you don’t have a Native Auth0 application, [create one](https://auth0.com/docs/get-started/create-apps/native-apps) before continuing.\n\n### 3. Configure Auth0.swift\n\nRename the `Auth0.plist.example` file to `Auth0.plist`, and replace the placeholder `L3hbC1BWgAwMhvuZBtL4pqYezH7dSzLx` and `pse-addons.auth0.com` values with the Client ID and Domain of your Auth0 application. If you are using a [Custom Domain](https://auth0.com/docs/brand-and-customize/custom-domains), use the value of your Custom Domain instead of the value from the settings page.\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n\u003cdict\u003e\n    \u003ckey\u003eClientId\u003c/key\u003e\n    \u003cstring\u003eL3hbC1BWgAwMhvuZBtL4pqYezH7dSzLx\u003c/string\u003e\n    \u003ckey\u003eDomain\u003c/key\u003e\n    \u003cstring\u003epse-addons.auth0.com\u003c/string\u003e\n\u003c/dict\u003e\n\u003c/plist\u003e\n```\n\n## Issue Reporting\n\nFor general support or usage questions, use the [Auth0 Community](https://community.auth0.com/tags/c/sdks/5/swift) forums or raise a [support ticket](https://support.auth0.com/). Only [raise an issue](https://github.com/auth0-samples/auth0-ios-swift-sample/issues) if you have found a bug or want to request a feature.\n\n**Do not report security vulnerabilities on the public GitHub issue tracker.** The [Responsible Disclosure Program](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues.\n\n## What is Auth0?\n\nAuth0 helps you to:\n\n* Add authentication with [multiple sources](https://auth0.com/docs/connections), either social identity providers such as **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce** (amongst others), or enterprise identity systems like **Windows Azure AD, Google Apps, Active Directory, ADFS, or any SAML Identity Provider**.\n* Add authentication through more traditional **[username/password databases](https://auth0.com/docs/connections/database/custom-db)**.\n* Add support for **[linking different user accounts](https://auth0.com/docs/users/user-account-linking)** with the same user.\n* Support for generating signed [JSON Web Tokens](https://auth0.com/docs/security/tokens/json-web-tokens) to call your APIs and **flow the user identity** securely.\n* Analytics of how, when, and where users are logging in.\n* Pull data from other sources and add it to the user profile through [JavaScript actions](https://auth0.com/docs/actions).\n\n**Why Auth0?** Because you should save time, be happy, and focus on what really matters: building your product.\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](../LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpushpabrol%2Fauth0-swift-standard-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpushpabrol%2Fauth0-swift-standard-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpushpabrol%2Fauth0-swift-standard-sample/lists"}