{"id":18612972,"url":"https://github.com/logto-io/swift","last_synced_at":"2026-01-25T09:11:03.769Z","repository":{"id":39422195,"uuid":"443493695","full_name":"logto-io/swift","owner":"logto-io","description":"Build authentication and authorization with Logto Swift SDK.","archived":false,"fork":false,"pushed_at":"2025-01-21T09:27:57.000Z","size":355,"stargazers_count":7,"open_issues_count":9,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T06:23:02.304Z","etag":null,"topics":["authentication","authorization","ios","jwt","logto","mfa","multi-tenant","oauth2","oidc","saml","sdk","sso","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logto-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":"logto-io"}},"created_at":"2022-01-01T07:40:50.000Z","updated_at":"2025-02-20T01:02:21.000Z","dependencies_parsed_at":"2023-12-06T03:03:20.749Z","dependency_job_id":"dbd66923-43c7-49bb-9582-753b2f22e18e","html_url":"https://github.com/logto-io/swift","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logto-io%2Fswift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logto-io%2Fswift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logto-io%2Fswift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logto-io%2Fswift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logto-io","download_url":"https://codeload.github.com/logto-io/swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248316178,"owners_count":21083395,"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":["authentication","authorization","ios","jwt","logto","mfa","multi-tenant","oauth2","oidc","saml","sdk","sso","swift"],"created_at":"2024-11-07T03:19:18.958Z","updated_at":"2026-01-25T09:11:03.764Z","avatar_url":"https://github.com/logto-io.png","language":"Swift","funding_links":["https://github.com/sponsors/logto-io"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://logto.io\" target=\"_blank\" align=\"center\" alt=\"Logto Logo\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/logto-io/logto/master/logo.png\" height=\"120\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# Logto Swift SDKs\n\nThe monorepo for [Logto](https://github.com/logto-io) SDKs and social plugins written in Swift. Check out our [docs](https://docs.logto.io/sdk/swift/) for more information.\n\n## Installation\n\n### Swift Package Manager\n\nSince Xcode 11, you can [directly import a swift package](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app) w/o any additional tool. Use the following URL to add Logto SDKs as a dependency:\n\n```bash\nhttps://github.com/logto-io/swift.git\n```\n\n### Carthage\n\nCarthage [needs a `xcodeproj` file to build](https://github.com/Carthage/Carthage/issues/1226#issuecomment-290931385), but `swift package generate-xcodeproj` will report a failure since we are using binary targets for native social plugins. We will try to find a workaround later.\n\n### CocoaPods\n\nCocoaPods [does not support local dependency](https://github.com/CocoaPods/CocoaPods/issues/3276) and monorepo, thus it's hard to create a `.podspec` for this repo.\n\n## Products\n\n| Name | Description |\n|---|---|\n| Logto | Logto swift core. |\n| LogtoClient | Logto swift client. |\n| LogtoSocialPlugin | Social plugin foundation for LogtoClient. |\n| LogtoSocialPluginWeb | Social plugin for OAuth-like web IdPs. |\n| LogtoSocialPluginAlipay | Social plugin for Alipay sign in. |\n| LogtoSocialPluginWechat | Social plugin for WeChat sign in. |\n\nIn most cases, you only need to import `LogtoClient`, which includes `Logto` and `LogtoSocialPluginWeb` under the hood.\n\nThe related plugin is required when you integrate a native connector.\n\n## Resources\n\n[![Website](https://img.shields.io/badge/website-logto.io-8262F8.svg)](https://logto.io/)\n[![Logto Docs](https://img.shields.io/badge/docs-logto.io-green.svg)](https://docs.logto.io/)\n[![Discord](https://img.shields.io/discord/965845662535147551?logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026cacheSeconds=600)](https://discord.gg/UEPaF3j5e6)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogto-io%2Fswift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogto-io%2Fswift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogto-io%2Fswift/lists"}