{"id":34761538,"url":"https://github.com/grdsdev/swift-supabase-auth-http","last_synced_at":"2026-05-25T11:31:56.232Z","repository":{"id":321416082,"uuid":"1085755211","full_name":"grdsdev/swift-supabase-auth-http","owner":"grdsdev","description":"A Swift HTTP client for Supabase Auth generated from the official OpenAPI specification using Apple's Swift OpenAPI Generator.","archived":false,"fork":false,"pushed_at":"2025-12-16T10:19:31.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-19T23:31:16.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/grdsdev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T13:22:42.000Z","updated_at":"2025-12-16T10:19:29.000Z","dependencies_parsed_at":"2025-10-29T15:33:04.655Z","dependency_job_id":null,"html_url":"https://github.com/grdsdev/swift-supabase-auth-http","commit_stats":null,"previous_names":["grdsdev/swift-supabase-auth-http"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/grdsdev/swift-supabase-auth-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdsdev%2Fswift-supabase-auth-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdsdev%2Fswift-supabase-auth-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdsdev%2Fswift-supabase-auth-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdsdev%2Fswift-supabase-auth-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grdsdev","download_url":"https://codeload.github.com/grdsdev/swift-supabase-auth-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grdsdev%2Fswift-supabase-auth-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33473700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T06:32:55.349Z","status":"ssl_error","status_checked_at":"2026-05-25T06:32:35.322Z","response_time":57,"last_error":"SSL_read: 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":"2025-12-25T06:34:18.696Z","updated_at":"2026-05-25T11:31:56.213Z","avatar_url":"https://github.com/grdsdev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift Supabase Auth HTTP Client\n\nA Swift HTTP client for Supabase Auth generated from the official OpenAPI specification using Apple's Swift OpenAPI Generator.\n\n## ⚠️ Warning\n\n**This is a Proof of Concept (POC) and is not meant for production use.**\n\nThis project is experimental and should not be used in production environments. It's intended for:\n- Learning and experimentation\n- Testing Swift OpenAPI Generator capabilities\n\n## Overview\n\nThis package provides a type-safe Swift client for the Supabase Auth REST API, automatically generated from the official OpenAPI specification. It includes:\n\n- Complete type definitions for all Supabase Auth API endpoints\n- Type-safe request/response handling\n- Support for all authentication flows (password, OAuth, Web3, etc.)\n- Generated from the latest Supabase Auth OpenAPI spec\n\n## Requirements\n\n- Swift 6.0+\n- macOS 10.15+, iOS 13+, tvOS 13+, watchOS 6+, visionOS 1+\n\n## Installation\n\nAdd this package to your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/grdsdev/swift-supabase-auth-http\", branch: \"main\")\n]\n```\n\n## Usage\n\n```swift\nimport SupabaseAuthHTTP\nimport OpenAPIURLSession\n\n// Create a client\nlet client = Client(\n    serverURL: URL(string: \"https://your-project.supabase.co/auth/v1\")!,\n    transport: URLSessionTransport()\n)\n\n// Example: Sign in with email and password\nlet response = try await client.postToken(\n    .init(\n        query: .init(grant_type: .password),\n        body: .json(.init(\n            email: \"user@example.com\",\n            password: \"password123\"\n        ))\n    )\n)\n```\n\n## Development\n\n### Prerequisites\n\n- Swift 6.0+\n- Make\n\n### Updating the OpenAPI Specification\n\nTo pull the latest OpenAPI spec from Supabase:\n\n```bash\nmake pull-spec\n```\n\n### Generating Swift Code\n\nTo regenerate the Swift client from the OpenAPI spec:\n\n```bash\nmake generate\n```\n\n### Building\n\n```bash\nmake build\n```\n\n### Available Make Targets\n\n- `make help` - Show all available targets\n- `make pull-spec` - Download latest OpenAPI spec from Supabase\n- `make generate` - Generate Swift client from OpenAPI spec\n- `make build` - Build the package\n- `make clean` - Clean generated files\n- `make clean-all` - Clean everything including dependencies\n\n## Project Structure\n\n```\nSources/SupabaseAuthHTTP/Generated/\n├── Client.swift    # Generated HTTP client\n└── Types.swift     # Generated type definitions\n```\n\n## Dependencies\n\nThis package depends on:\n- [Swift OpenAPI Runtime](https://github.com/apple/swift-openapi-runtime)\n- [Swift OpenAPI URLSession](https://github.com/apple/swift-openapi-urlsession)\n\n## Related Projects\n\n- [Supabase Auth](https://supabase.com/auth) - The official Supabase Auth service\n- [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator) - Apple's OpenAPI code generator\n- [Supabase Swift](https://github.com/supabase/supabase-swift) - Official Supabase Swift client\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrdsdev%2Fswift-supabase-auth-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrdsdev%2Fswift-supabase-auth-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrdsdev%2Fswift-supabase-auth-http/lists"}